1. 需要安装http-server 通过npm install -g http-server 进行全局安装 2. 通过命令行进入到dist文件夹 运行http-server 3.在浏览器输入上述地址就可以访问了.