ops部署流程
- 进入src/main/webapp/master目录
- 命令行执行
npm install
安装node模块
下载速度慢则安装淘宝cnpm,执行
npm install -g cnpm --registry=https://registry.npm.taobao.org
,再执行cnpm install
- 执行
bower install
安装依赖
有时可能因为下载速度过慢error,需要挂vpn
- 执行
gulp serve
自动编译、注入、连接到localhost:3000
网友评论