How to package and upload server in vue

1. First, open the cmd command in the project folder and enter the packaging command npm run build

Then there will be a dist file in your folder

 

2. Upload server

1. Open your pagoda panel, go to your file page and open the path under your domain name

 Upload your dist folder to your path

2. Change your domain name to your dist file

 

Guess you like

Origin blog.csdn.net/yjnain3066/article/details/127355170