File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 34
34
35
35
## 快速开始
36
36
37
- 1 . 安装 [ Node.js] ( https://nodejs.org/ ) 默认此步骤已完成
38
- 2 . 全局安装 [ Gulp 4] ( https://github.com/gulpjs/gulp/tree/4.0 ) ,执行:` npm install gulpjs/gulp#4.0 -g `
39
- 3 . 点击下载 [ tmt-workflow] ( https://github.com/weixin/tmt-workflow/archive/master.zip ) ,进入根目录执行: ` npm install `
37
+ 以下 2 种方式任选,请确保已安装 [ Node.js] ( https://nodejs.org/ ) 环境
38
+
39
+ * 使用 [ yoeman] ( http://yeoman.io/ ) 自动安装, 也可自行定制脚手架 [ generator-workflow] ( https://github.com/weixin/generator-workflow ) :
40
+ * `npm install -g generator-workflow`
41
+ * `yo workflow`
42
+
43
+ * 直接下载安装:
44
+ 1. 全局安装 [Gulp 4](https://github.com/gulpjs/gulp/tree/4.0),执行:`npm install gulpjs/gulp#4.0 -g`
45
+ 2. 点击下载 [tmt-workflow](https://github.com/weixin/tmt-workflow/archive/master.zip),进入根目录执行: `npm install`
40
46
41
47
> 注:[ Gulp 4] ( https://github.com/gulpjs/gulp/tree/4.0 ) 目前 [ 尚未正式发布] ( https://github.com/gulpjs/gulp/blob/4.0/CHANGELOG.md ) ,Windows 用户请先安装 [ git] ( http://git-scm.com/ ) ,
42
48
> 然后在 [ Git Bash] ( http://git-for-windows.github.io/ ) 下执行 ` npm install ` 即可(非 ` CMD ` )。
@@ -191,6 +197,12 @@ _注:浏览器刷新功能可在 `.tmtworkflowrc` 中进行配置_
191
197
192
198
更多详细说明 [ 参见 WiKi] ( https://github.com/weixin/tmt-workflow/wiki/%E2%92%8B-%E4%BB%BB%E5%8A%A1%E4%BB%8B%E7%BB%8D )
193
199
200
+ ## 使用预览
201
+
202
+ 推荐配合 [ WebStorm] ( https://www.jetbrains.com/webstorm/ ) 等编辑器的 [ Gulp 任务管理器] ( https://www.jetbrains.com/webstorm/help/using-gulp-task-runner.html ) 使用更佳。
203
+
204
+ ![ tmt-workflow yo] ( https://cloud.githubusercontent.com/assets/1049575/13744821/77a67476-ea25-11e5-9cf3-eebf56ffbe03.gif )
205
+
194
206
## 其它说明
195
207
196
208
` tmt-workflow ` 具有良好的` 定制性 ` 和` 扩展性 ` ,用户可针对自身团队的具体需求,参看以下文档进行定制:
You can’t perform that action at this time.
0 commit comments