本地开发测试 安装nodejs 运行 npm config set registry https://registry.npm.taobao.org cd 根目录 运行npm install 运行 npm start 打开浏览器访问 http://localhost:3000/home.html 微信访问 http://ip:3000/home.html 打包上线部署 npm run build 拷贝dist目录下面的所有的文件 到 服务器 ,需要和api服务器同域名