The ssr Property
- Type:
boolean
- Default:
true
- Possible values:
false
: No server-side rendering (only client-side rendering)
- Default:
You need to set this option when working with single page applications
nuxt.config.js
export default {
ssr: false // for SPA's
}
Previously, mode
was used to disable or enable server-side rendering. Here is the mode
documentation.