Use vercel to build vue projects for free

Before, I used Github as a server to publish a static website. Someone told me today that there is a merchant named vercel who can directly prostitute for free. Let’s try to teach him a lesson.


1 Register account

Enter the official website vercel.com to register and bind your own Github

2 item code

If it's your own project, don't worry about it; if it's not your own project, you can use the Fork function first to transfer other GitHub projects to your own warehouse

3 Start deployment

Select your warehouse in vercel

Find the project you just forked and import it

Modify the running parameters according to your project. As shown in the figure, it is wrong. Please fill in the truth according to the project . Generally, there will be an introduction on the readme page of the project. The project I tested can be ignored, and the default is fine.

Click Deploy to start the deployment. After completion, Vercel will assign a temporary domain name, through which you can directly access your project

4 Replace the domain name

Although they provide a free domain name, it is said that it can be accessed nationwide, but sometimes I feel normal and sometimes I can’t open it. It is recommended to bind your own domain name, and then resolve it through CNAME

In this way, you can build a project without a server and use it to write static pages. It is a good choice and saves you a lot of money.

At the same time, it will automatically compile and release according to your Git submission records, and save you the trouble of deploying yourself!


I have something to say

If you like it, please leave a follow, if you can repost and share, that would be the best. For more source code, software, etc., please pay attention to the WeChat public account: dry goods assistant , good food is not afraid of late, now is the right time to follow!

Guess you like

Origin blog.csdn.net/QQ727338622/article/details/130684394