update getting-started document

This commit is contained in:
afc163
2015-10-22 16:03:59 +08:00
parent 30eed4f32d
commit 4bc1d2eb72
+3 -1
View File
@@ -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 的组件。