1、现在本地安装 Nginx
2、配置Nginx nginx.conf listen 就是Vue项目访问的地址 root 就是Vue项目打包的路径 3、配置完成时候启动Nginx 就可以访问了 localhost:8081