TutorialsDeploy to Vercel

Deploy to Vercel

Deployment Process

  1. First, develop your project locally and commit the code to a private Github repository.

  2. Create a new project in the Vercel console, import the code repository, and deploy with one click

vercel-new-project

  1. Once the build is complete, you can see your project in the Vercel console

vercel-console

  1. Open the domain to access your project

You can also add a custom domain in the Vercel console

vercel-preview

  1. Modify environment variables

First, edit the content of .env.production locally, fill in the production environment configuration, then copy and paste it into Vercel’s environment variables.

The next time you push code, it will automatically redeploy with the new environment variables

vercel-env

References