You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, configuring Nuxt to full SPA is more complicated than in the Nuxt 2 days.
In nuxt 2:
ssr: false
But in nuxt 3, there is more configuration needed which cause confusion because it's not as clear as it was before:
ssr: false,hooks: {'prerender:routes'({ routes }){// Do not generate any routes except:// index.html// 200.html// 400.html// spa-loading-template.htmlroutes.clear();},},
So it would be nice to ask the rendering mode in the CLI like in the old [email protected] days:
The text was updated successfully, but these errors were encountered:
mrleblanc101
changed the title
Add SPA template to the CLI
Add full SPA template to the CLI
Mar 7, 2025
Currently, configuring Nuxt to full SPA is more complicated than in the Nuxt 2 days.
In nuxt 2:
ssr: false
But in nuxt 3, there is more configuration needed which cause confusion because it's not as clear as it was before:
So it would be nice to ask the rendering mode in the CLI like in the old
[email protected]
days:The text was updated successfully, but these errors were encountered: