mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-23 11:46:44 +10:00
update getting-started document
This commit is contained in:
@@ -25,9 +25,11 @@ $ npm install antd-bin -g
|
||||
```bash
|
||||
$ mkdir antd-demo && cd antd-demo
|
||||
$ antd init
|
||||
$ npm install // 0.10.x 仍然在开发中,需要 `npm install antd@beta --save` 进行安装
|
||||
$ npm install
|
||||
```
|
||||
|
||||
若下面例子发生报错,尝试用 `npm install antd@beta --save` 安装 `0.10.x` 或更高版本。
|
||||
|
||||
### 3. 使用组件
|
||||
|
||||
编辑 `src/component/App.jsx`,用 React 的方式直接使用 Ant Design React 的组件。
|
||||
|
||||
Reference in New Issue
Block a user