We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug types for .server pages won't be generated
Expected behavior types for .server pages should be generated like other pages.
Screenshots
Environnement infos
Darwin
v18.16.0
3.5.3
2.4.1
[email protected]
vite
-
Your pages folder structure
pages
pages ├── admin │ ├── index.vue │ ├── logs.vue │ └── users.vue ├── admin.vue ├── article │ ├── [...id].vue │ └── edit.vue ├── auth │ ├── login.vue │ ├── logout.vue │ └── register.vue ├── beatmap │ └── [id].server.vue ├── beatmapset │ └── [id].vue ├── error.vue ├── index.vue ├── leaderboard │ └── [[mode]].vue ├── me │ ├── relations.vue │ └── settings.vue ├── score │ ├── [id].vue │ └── index.vue ├── status.vue └── user └── [handle].vue
Your nuxt.config.ts
... modules: [ // '@nuxtjs/color-mode', '@nuxtjs/tailwindcss', '@pinia/nuxt', '@nuxtjs/i18n', 'nuxt-icon', 'nuxt-typed-router', ], i18n: { strategy: 'prefix_and_default', defaultLocale: 'en-GB', locales: [ { code: 'en-GB', name: 'English (International)', }, { code: 'zh-CN', name: '简体中文 (中国)', }, ], detectBrowserLanguage: { useCookie: true, cookieKey: 'n-lang', redirectOn: 'root', // recommended }, }, ...
The text was updated successfully, but these errors were encountered:
I will look at it, are server routes supposed to be navigated to?
Sorry, something went wrong.
Is the route display on your vue/nuxt devtools?
yes.
right now it navigates with bug: (I am on Nuxt 3.5.3 so things may changed)
I'll investigate this, to see if there's a way to get the server routes. For now Nuxt isn't providing it for the classic pages behaviour
No branches or pull requests
Describe the bug
types for .server pages won't be generated
Expected behavior
types for .server pages should be generated like other pages.
Screenshots
![image](https://private-user-images.githubusercontent.com/10007589/257380213-30685482-c675-4922-a24a-ae1568e1e601.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzNTMxODAsIm5iZiI6MTcyMDM1Mjg4MCwicGF0aCI6Ii8xMDAwNzU4OS8yNTczODAyMTMtMzA2ODU0ODItYzY3NS00OTIyLWEyNGEtYWUxNTY4ZTFlNjAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA3VDExNDgwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgyNjlmNjdlODMyZjkxZjQ1NzAxMzA4MjJlMWE0OThjMmY3N2EzZDJkYTA0MDM4ZWI1M2UwY2QxNGJmYmE2Y2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.BfHTt_UGVf5llt-8Kf_zGd7vMioX5UrpzcnlrlMe8k0)
![image](https://private-user-images.githubusercontent.com/10007589/257380270-a563a6db-d912-4242-b9eb-6847e270ec68.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzNTMxODAsIm5iZiI6MTcyMDM1Mjg4MCwicGF0aCI6Ii8xMDAwNzU4OS8yNTczODAyNzAtYTU2M2E2ZGItZDkxMi00MjQyLWI5ZWItNjg0N2UyNzBlYzY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA3VDExNDgwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU0ZDJkZWJjZTIzMWRkMWU3ZGNiODlkYmIzYTI5YzFkNzFmMzgwYTkwMzQ0ODQ2YTVhODI0ZTVkYjEwOTVhNTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.rZk2g5xXEnV3uib8eO4jKgFPXW8xBXGQRXbDGR116KU)
Environnement infos
Darwin
v18.16.0
3.5.3
2.4.1
[email protected]
vite
-
-
-
Your
pages
folder structureYour nuxt.config.ts
The text was updated successfully, but these errors were encountered: