Optimize workflow

This commit is contained in:
dengtongyu committed 2018-05-16 17:32:40 +08:00
1 parent cec28fc0f3
commit 1f18052940
14 files changed
+11765 -451

No files matched your search

+9 -8
View File
@@ -1,15 +1,16 @@
#webpage 单页面开发工作流
webpage 单页面开发工作流
##初始化
初始化
```sh
npm install
##启动
npm start
创建新项目
npm run new
1 --- 创建开发目录(随机创建目录名)
2 --- 创建开发目录(命名创建目录名)
3 --- 选择开发目录(输入目录名)
4 --- 构建目录
开发已有项目
npm run dev
打包已有项目
npm run pack
```