Browse Source

Add docs, close #5197

pull/5207/head
afc163 8 years ago
parent
commit
a84d85e02b
  1. 2
      docs/react/practical-projects.en-US.md
  2. 3
      docs/react/practical-projects.zh-CN.md

2
docs/react/practical-projects.en-US.md

@ -23,7 +23,7 @@ $ dva -v
## Create New App ## 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 ```bash
$ dva new dva-quickstart $ dva new dva-quickstart

3
docs/react/practical-projects.zh-CN.md

@ -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 ```bash
$ dva new dva-quickstart $ dva new dva-quickstart
@ -275,4 +275,3 @@ File sizes after gzip:
- 查看 [dva 知识地图](https://github.com/dvajs/dva-knowledgemap) ,包含 ES6, React, dva 等所有基础知识 - 查看 [dva 知识地图](https://github.com/dvajs/dva-knowledgemap) ,包含 ES6, React, dva 等所有基础知识
- 查看 [更多 FAQ](https://github.com/dvajs/dva/issues?q=is%3Aissue+is%3Aclosed+label%3Afaq),看看别人通常会遇到什么问题 - 查看 [更多 FAQ](https://github.com/dvajs/dva/issues?q=is%3Aissue+is%3Aclosed+label%3Afaq),看看别人通常会遇到什么问题
- 如果你基于 dva-cli 创建项目,最好了解他的 [配置方式](https://github.com/sorrycc/roadhog#配置) - 如果你基于 dva-cli 创建项目,最好了解他的 [配置方式](https://github.com/sorrycc/roadhog#配置)

Loading…
Cancel
Save