-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
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
Can not generate static routes #13762
Comments
would you provide a reproduction? 🙏 |
@danielroe Here you go! https://stackblitz.com/edit/github-fjh4sx-m3hnpu?file=components%2Fdemo%2FDemoFirst.vue
try project above with |
@TrungRueta did you fix this? |
I think you need to add import { defineNuxtConfig } from 'nuxt3';
export default defineNuxtConfig({
generate: {
routes: ['/'],
},
+ build: {
+ transpile: ['swiper'],
+ },
}); |
I can no longer reproduce with latest nuxt + nitro. |
Environment
Linux
v16.14.2
3.0.0-27501460.04a72f8
npm@8.5.0
vite
app
,build
,nitro
,vite
,experimental
,typescript
,features
,globalName
,cli
,alias
,components
,autoImports
,router
,css
,buildModules
,privateRuntimeConfig
,publicRuntimeConfig
,generate
,windicss
,partytown
-
@vueuse/nuxt@8.2.6
,nuxt-windicss@2.2.11
,@nuxtjs/partytown@1.1.1
,@unlighthouse/nuxt@0.3.21
Reproduction
follow latest version we can start generate static pages by config
generate.routes
in Nuxt.config.js.commit
Describe the bug
But for now when run build this error response:
The text was updated successfully, but these errors were encountered: