Want to take a look at our new docs? Our new docs are now in beta. Have fun!

API: The mode Property

mode 属性

  • 类型: string
    • 默认: universal
    • 可以设置的值:
      • 'spa': 没有服务器端渲染(只有客户端路由导航等)
      • 'universal': 同构应用程序(服务器端呈现+客户端路由导航等)

您可以使用此选项更改项目的nuxt.config.js中默认 nuxt 模式

Contribution for this page is now closed. If you would like to contribute please check out our new docs are now in beta. Have fun!

Platinum Sponsors

StoryblokMoovweb Support Us