Nuxt/docs/content/2.guide/5.deploy/3.presets.md
Clément Ollivier a3b523bca3
docs: update deployment section (#4452)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-20 19:54:40 +02:00

1.7 KiB

Deployment Presets

In addition to Node.js servers and static hosting services, a Nuxt 3 project can be deployed with several well-tested presets and minimal amount of configuration.

You can use the Nuxt config to explicitly set the preset to use:

export default {
  nitro: {
    preset: 'node-server'
  }
}

Or directly use the NITRO_PRESET environment variable when running nuxt build:

NITRO_PRESET=node-server nuxt build

🔎 Check the Nitro deployment for all possible deployment presets and providers.

Supported Hosting Providers

Nuxt 3 can be deployed to several cloud providers with a minimal amount of configuration:

  • :IconCloud{class="h-5 w-4 inline mb-2"} AWS
  • :LogoAzure{class="h-5 w-4 inline mb-2"} Azure
  • :LogoCloudFlare{class="h-5 w-4 inline mb-2"} CloudFlare
  • :IconCloud{class="h-5 w-4 inline mb-2"} Digital Ocean
  • :LogoFirebase{class="h-5 w-4 inline mb-2"} Firebase
  • :IconCloud{class="h-5 w-4 inline mb-2"} heroku
  • :IconCloud{class="h-5 w-4 inline mb-2"} layer0
  • :LogoNetlify{class="h-5 w-4 inline mb-2"} Netlify
  • :IconCloud{class="h-5 w-4 inline mb-2"} Render
  • :IconCloud{class="h-5 w-4 inline mb-2"} Stormkit
  • :LogoVercel{class="h-5 w-4 inline mb-2"} Vercel