Test platform front-end deployment

Insert image description here


1. Front-end code packaging

1. Packaging command

npm run build

2. After packaging is completed, copy the dist folder to the nginx folder

Insert image description here

3. Rewrite default.conf

 

Guess you like

Origin blog.csdn.net/YZL40514131/article/details/132679972