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

  1. export default {
  2. ssr: false // Disable Server Side rendering
  3. }

The ssr Property - 图1

Previously, mode was used to disable or enable server-side rendering. Here is the mode documentation.