Introduce `nuxi prerender` and top level `prerender` in `nuxt.config`
Open
@pi0 is already working on this.
Since Nov 11, 2022.
5.x
- Dominant language
- TypeScript
- Stars
- 60.9k
- Forks
- 5.8k
- Avg merge
- 7h 8m
- Merged PRs (30d)
- 162
Description
Currently, configuring nuxi genrate and prerender behavior is implicit by using nitro.prerender options. Also, while nuxi generate is well-known for the entire Nuxt ecosystem, since Nuxt 3 took a hybrid-frist approach, we have renamed the term "generate" to "prerender" to reflect this. Also generate in nuxt.config is a legacy namespace for Nuxt 2.
- Introduce a new
prerenderoption innuxt.configthat accepts Nuxt-Specific options and normalizes rest for Nitro - Introduce new
nuxi prerenderas alias tonuxi generateto make it more accessible and symmetric
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.