Fast and free deployment project - vercel

Official website: vercel
What is vercel: Vercel introduction

1. Install vercel globally

npm i -g vercel

2. Enter the root directory of the local project

3. Run the deployment command

If you do not have an account, it is recommended to use the github account to create a vercel account with one click. After creating a vercel account through the github account, vercel can synchronize your github warehouse and deploy projects on your github with one click.

vercel --prod    

4. Complete the release step by step according to the prompt information

In general, there is no need to make any configuration adjustments, just enter all the way. 

  1. Determine whether to deploy
  2. Select the organization you need to deploy
  3. Whether to link to an existing project
  4. Enter your project name
  5. Choose your code directory
  6. Adjust project installation, packaging and other commands (if your project uses a framework, vercel can also detect it and prompt you to use the framework command)
  7. Wait for the installation of the resource environment and automatically package and deploy it (if there are compilation errors or resource problems, it will also be prompted here). After the deployment is successful, vercel will generate a free second-level domain name for you.

 5. Deployment completed

Automatically generated free second-level domain name address: https://test-two-phi-51.vercel.app

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_38629292/article/details/128945844