10000 Introduce `nuxi prerender` and top level `prerender` in `nuxt.confing` · Issue #15440 · nuxt/nuxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Introduce nuxi prerender and top level prerender in nuxt.confing #15440
@pi0

Description

@pi0

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 prerender option in nuxt.config that accepts Nuxt-Specific options and normalizes rest for Nitro
  • Introduce new nuxi prerender as alias to nuxi generate to make it more accessible and symmetric

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0