Nuxt/docs/content/3.docs/8.deployment/6.vercel.md
Daniel Roe 1a39eff502
docs: update migration guide for nuxt 3 (#3819)
Co-authored-by: Dan Pastori <dan@521dimensions.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-30 19:32:30 +02:00

1.4 KiB
Raw Blame History

icon
LogoVercel

Vercel

Nuxt on Vercel supports server-rendered pages and API routes.

::list

  • Support for serverless build
  • Auto-detected when deploying
  • No configuration required ::

CLI

  1. Install the Vercel CLI.
  2. Vercel will detect that you are using Nuxt and will enable the correct settings for your deployment.
  3. Your application is deployed! (e.g. nuxt.vercel.app)
npm i -g vercel
npx nuxi init -t v3-vercel
vercel

Git

  1. Push your code to your git repository (GitHub, GitLab, BitBucket).
  2. Import your project into Vercel.
  3. Vercel will detect that you are using Nuxt and will enable the correct settings for your deployment.
  4. Your application is deployed! (e.g. nuxt.vercel.app)

After your project has been imported and deployed, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the Production Branch (commonly “main”) will result in a Production Deployment.

Learn more about Vercels Git Integration.

More information

See more information on the node preset for full details.

Demo

A live demo is available at https://nuxt.vercel.app.