-
-
Notifications
You must be signed in to change notification settings - Fork 604
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
Pages are not being generated when using sources with github driver #2203
Comments
Hello, This behavior is normal and not related to In fact, Nitro, the server engine under Nuxt, can only generate known pages from a user point of view. By default, the crawler goes to You can manually add routes into the In this reproduction, I added a link to Read more at https://nitro.unjs.io/config#prerender. @danielroe, I see many people struggling with the prerender mode and how the Nitro crawler works. Do you think we could update the content, to make it sharper, in this section, https://nuxt.com/docs/getting-started/deployment#crawl-based-pre-rendering? |
@Barbapapazes That is a great idea 👍 |
Thanks for the answer and thanks for updating the documentation. I could make it work enabling crawlLinks and adding anchor tags for the pages to be crawled. |
Environment
Reproduction
https://stackblitz.com/edit/github-kwfyia-plfaaa?file=pages%2Findex.vue
Describe the bug
Only the first root folder is generating all nodes when using
nuxt generate
and nuxt content with github driver.This is my nuxt content config within
nuxt.config.ts
:This is the content cached by github driver:
These are the pages generated after
yarn generate
(you can notice that is missing two pages withindist/c/
folder):I tested a lot of things, from changing folder/file names to changing .md and .yml files content and I realized only the first folder, in my case
dist/a
generate pages from all nodes.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: