API: The target Property

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 new static target check out our article.

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!

Platinum Sponsors

Storyblok Support Us