Not all content is being generated by npx nuxi generate #1593
-
I'm using the Nuxt Content. I'm attempting to generate my site as a static site using
These pages represent content in But the generate command doesn't generate any content that would be rendered by In a dev environment I couldn't get this second type of content to render using the blog template. But I got it working using this:
My question is, is there something obvious as it why only some content is being rendered? Is the content directory structured incorrectly? Is there a reason I couldn't use the same exact template in both places? Is there a problem with multiple Here is my
The repo I'm working out of is here: https://github.com/andystevensname/andystevens.name Any help or pointers from the community would be greatly appreciated! Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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
|
Beta Was this translation helpful? Give feedback.
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
totrue
, and by adding the routes manually: