Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyli committed Sep 15, 2020
1 parent dfab982 commit b1d5bd4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
12 changes: 11 additions & 1 deletion docs/pages/4x/entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $ fbi create <tempalate|factory> [project]

> 使用 `$ fbi ls` 可以查看已添加和关联的仓库及模板
### 三、运行任务
### 三、运行项目

```shell
$ cd my-project
Expand All @@ -40,4 +40,14 @@ $ fbi serve
$ fbi s
```

### 四、打包项目

```shell
$ cd my-project

$ fbi build
# OR
$ fbi b
```

> `$ fbi ls` 可以查看已添加和关联的仓库及模板
25 changes: 19 additions & 6 deletions docs/pages/4x/more.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# 官方模板列表
# 更多内容

| 名称 | 类型 | 说明 |
| ------------------------------------------------------ | :--: | --------------------------------------: |
| [factory-node](https://github.com/fbi-js/factory-node) | 项目 | Node 服务或 npm 模块 |
| [factory-web](https://github.com/fbi-js/factory-web) | 项目 | web 模板,包括 react\vue2\vue3 前端项目 |
## 官方模板

> 更多模板敬请期嗲
| 名称 | 类型 | 说明 |
| -------------------------------------------------------------- | :--: | --------------------------------------: |
| [factory-node](https://github.com/fbi-js/factory-node) | 项目 | Node 服务或 npm 模块 |
| [factory-web](https://github.com/fbi-js/factory-web) | 项目 | web 模板,包括 react\vue2\vue3 前端项目 |
| [factory-commands](https://github.com/fbi-js/factory-commands) | 项目 | fbi 全局命令仓库 |

> 更多模板敬请期待
## 官网模板使用

### factory-commands

```shell
$ fbi add factory-commands
```

fbi 添加仓库后即可使用其包含的 commit、demo 等明令

0 comments on commit b1d5bd4

Please sign in to comment.