Skip to content

Not all content is being generated by npx nuxi generate #1593

Discussion options

You must be logged in to vote

Looks like this is a direct result of static site generation not being completely baked in to Nuxt 3 framework just yet. This discussion on that repo seems to be the place where folks are discussing things.

I was able to get the routes that weren't generating to generate by setting nitro.prerender.crawLinks to true, and by adding the routes manually:

nitro: {
  prerender: {
    crawlLinks: true,
    routes: ['/route1', '/route2'],
  },
},

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mohsin
Comment options

@cossssmin
Comment options

Answer selected by andystevensname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants