Vercel

Deployment guideBeginner

Deploy front-end projects and full-stack apps from Git or the terminal, with a preview for every branch.

Suits

  • Next.js
  • Vite
  • Static sites

Steps

  1. Connect the repository from the Vercel dashboard or use the tool: npm i -g vercel.

  2. Set the environment variables in the project settings.

  3. Deploy a preview, then production.

Example · bash
vercel
vercel --prod

Notes

  • Set the variables before the build.

Sources

  1. Vercel Docs: Deployments