module-template
这是一个模块组件开发的脚手架项目,用于快速搭建模块开发项目。
使用
-
下载此项目至本地,修改项目名称和package.json里的信息;
-
git remote rm origin
-
git remote add origin {你的仓库地址} 例如:git remote add origin git@code.dianpingoa.com:pc-trade-f2e/apollo-template-static.git
-
git fetch
-
git pull origin master
-
全局安装smartDoc 用于生成文档
Command
#测试
npm run test
#打包
npm run build
#例子演示
npm start