-
Notifications
You must be signed in to change notification settings - Fork 107
Closed as not planned
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the solution you'd like
On the 3.pre-rendering.md doc, it could be helpful to explain why a person would (or would not) configure nitro and nuxt.
For example:
- Do the following configs achieve essentially the same outcome?
- Should one be preferred?
- Does the universe implode if both are used?
routeRules: {
'/': { prerender: true }
}
nitro: {
prerender: {
routes: ['/'],
}
}
And what if configs contradict each other — which takes precedent? Does a redneck hiccup each time I run nuxt build with the following?
routeRules: {
'/articles': { prerender: true },
'/songs': { prerender: false },
}
nitro: {
prerender: {
ignore: ['/articles'],
routes: ['/songs'],
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request