The ssr property
Change default nuxt ssr value
-
Type:
boolean
-
Default:
true
-
Possible values:
-
true
: Server-side rendering enabled -
false
: No server-side rendering (only client-side rendering)
-
You can set this option to
false
when you want only client side rendering
nuxt.config.js
export default {
ssr: false // Disable Server Side rendering
}
Previously,
mode
was used to disable or enable server-side rendering. Here is the mode
documentation .
Edit this page on GitHub
Updated at Mon, Jul 12, 2021