-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
luckyadam
committed
Dec 12, 2014
1 parent
780a393
commit b329577
Showing
1 changed file
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,32 @@ | ||
generator-uiaction | ||
================== | ||
# 贴吧无线UI Action生成器 | ||
|
||
生成无线ui模块的action | ||
## 开始之前 | ||
|
||
在开始使用前,请确保你已经全局安装以下组件: | ||
- [bower](http://bower.io/) `npm install -g bower` | ||
- [grunt-cli](http://gruntjs.com/) `npm install -g grunt-cli` | ||
|
||
## 安装 | ||
|
||
首先安装yeoman | ||
|
||
```bash | ||
npm install -g yo | ||
``` | ||
|
||
然后安装本生成器 | ||
|
||
```bash | ||
npm install -g generator-uiaction | ||
``` | ||
|
||
## 使用 | ||
|
||
### 生成action | ||
|
||
在UI模块(如mowsenior)根目录执行: | ||
|
||
```bash | ||
yo uiaction | ||
``` | ||
然后根据向导来一步一步操作,再也不用复制文件了 |