mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
update install documentation
This commit is contained in:
parent
08893a47cb
commit
6d142b11eb
@ -53,14 +53,14 @@ We provide `antd.js` `antd.css` and `antd.min.js` `antd.min.css` under `antd/dis
|
|||||||
|
|
||||||
## Development tool
|
## Development tool
|
||||||
|
|
||||||
We provide React components [Scaffold tool](https://github.com/ant-design/antd-init).
|
We provide React components [Scaffold tool](https://github.com/dvajs/dva-cli).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ npm install antd-init -g
|
$ npm install dva-cli -g
|
||||||
```
|
```
|
||||||
|
|
||||||
Inside an empty folder run `antd-init` to init.
|
Run `dva new myapp` to init a React application.
|
||||||
|
|
||||||
You can explore the latest structure of scaffold [here](https://github.com/ant-design/antd-init/tree/master/boilerplates), it is a good habit to watch this repo to get the latest features.
|
You can explore the latest structure of scaffold [here](https://github.com/dvajs/dva-cli/tree/master/boilerplates), it is a good habit to watch this repo to get the latest features.
|
||||||
|
|
||||||
> [More development tools](http://ant-tool.github.io/)。
|
> [More development tool features](https://github.com/sorrycc/roadhog)。
|
||||||
|
@ -53,14 +53,14 @@ $ npm install antd@beta --save
|
|||||||
|
|
||||||
## 开发工具
|
## 开发工具
|
||||||
|
|
||||||
我们提供了 React 前端应用开发的 [脚手架工具](https://github.com/ant-design/antd-init),可以安装到全局直接使用。
|
我们提供了 React 前端应用开发的 [脚手架工具](https://github.com/dvajs/dva-cli),可以安装到全局直接使用。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ npm install antd-init -g
|
$ npm install dva-cli -g
|
||||||
```
|
```
|
||||||
|
|
||||||
在空目录运行 `antd-init` 可以初始化一个 antd 的前端应用。
|
运行 `dva new myapp` 可以初始化一个 React 的前端应用。
|
||||||
|
|
||||||
最新的脚手架结构可以到这里 [查看](https://github.com/ant-design/antd-init/tree/master/boilerplates),建议持续关注更新以便获得最新的开发工程特性。
|
最新的脚手架结构可以到这里 [查看](https://github.com/dvajs/dva-cli/tree/master/boilerplates),建议持续关注更新以便获得最新的开发工程特性。
|
||||||
|
|
||||||
> 更多开发工具 [使用方式](http://ant-tool.github.io/)。
|
> 更多开发工具的[特性](https://github.com/sorrycc/roadhog)。
|
||||||
|
Loading…
Reference in New Issue
Block a user