1.npm run build (将项目打包) ,出现build complete表示打包完成
2.打包完成会生成一个dist文件夹
3.npm install http-server -g
4.可以将打包后的文件在 http-server上运行