The ssr Property

  • 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.

如何提交问题或文档贡献? 在 GitHub 编辑此页面!