Deployment options

The deployment of Nuxt largely depends on the frontend rendering mode chosen. Please refer to the Nuxt deployment guide for additional details.

Server-rendered

  • Run a Node.js Server - Useful for deploying Nuxt apps to any Node.js hosting. Details
  • Edge-Side Rendering - Run nuxt close to the user, e.g. at edge servers of a CDN. Details

Nuxt uses Nitro as its server framework. Thus, also refer to the Nitro deployment documentation for additional details. For deployments via Docker, an example Dockerfile can be found here.

Static hosting

  • Static Site Generation prerenders the site during build time. Details
  • Client-side rendering renders everything the browser. Details

For serving static files a general web-server is generally good-enough, additionally there are deployment presets available that make it easy to trigger the pre-rendering process and serve the resulting build, e.g. with Github or Gitlab pages.

Supported presets

Nuxt comes with lots of supported presets. Refer to the Nuxt deployment presets.