The target property

Change default nuxt target


Deployment targets for Nuxt >= v2.13:

  • Type: string
    • Default: server
    • Possible values:
      • 'server': For server side rendering
      • 'static': For static sites

You can use this option to change default nuxt target for your project using nuxt.config.js

To learn more about the target option check out the deployment targets section .

Edit this page on GitHub Updated at Thu, Oct 21, 2021