Add docs, close #5197

This commit is contained in:
afc163 2017-03-07 16:11:37 +08:00
parent 4e51fd942b
commit a84d85e02b
2 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,7 @@ $ dva -v
## Create New App
After installed dva-cli, you can have access to the `dva` command in terminal. Now, create a new application with `dva new`.
After installed dva-cli, you can have access to the `dva` command in terminal ([can't access?](http://stackoverflow.com/questions/15054388/global-node-modules-not-installing-correctly-command-not-found)). Now, create a new application with `dva new`.
```bash
$ dva new dva-quickstart

View File

@ -23,7 +23,7 @@ $ dva -v
## 创建新应用
安装完 dva-cli 之后,就可以在 terminal 里访问到 `dva` 命令。现在,你可以通过 `dva new` 创建新应用。
安装完 dva-cli 之后,就可以在命令行里访问到 `dva` 命令([不能访问?](http://stackoverflow.com/questions/15054388/global-node-modules-not-installing-correctly-command-not-found)。现在,你可以通过 `dva new` 创建新应用。
```bash
$ dva new dva-quickstart
@ -275,4 +275,3 @@ File sizes after gzip:
- 查看 [dva 知识地图](https://github.com/dvajs/dva-knowledgemap) ,包含 ES6, React, dva 等所有基础知识
- 查看 [更多 FAQ](https://github.com/dvajs/dva/issues?q=is%3Aissue+is%3Aclosed+label%3Afaq),看看别人通常会遇到什么问题
- 如果你基于 dva-cli 创建项目,最好了解他的 [配置方式](https://github.com/sorrycc/roadhog#配置)