update README.md

This commit is contained in:
afc163 2015-11-02 20:37:38 +08:00
parent 34665d9d70
commit 5c1c17b05f
2 changed files with 34 additions and 0 deletions

View File

@ -17,6 +17,19 @@
- 基于 webpack 的调试构建方案,支持 ES6。 - 基于 webpack 的调试构建方案,支持 ES6。
## 安装
```bash
npm install antd
```
可以提前体验兼容 `react@0.14.x` 的 [0.10.0](https://github.com/ant-design/ant-design/issues/276) 的 beta 版本.
```bash
npm install antd@beta
```
## 示例 ## 示例
### 使用全部组件 ### 使用全部组件
@ -34,6 +47,10 @@ import Datepicker from 'antd/lib/datepicker';
ReactDOM.render(<Datepicker />, mountNode); ReactDOM.render(<Datepicker />, mountNode);
``` ```
## 浏览器支持
现代浏览器和IE8 及以上。
## 链接 ## 链接
- [首页](http://ant.design/) - [首页](http://ant.design/)

View File

@ -12,6 +12,18 @@ An enterprise-class UI design language and React-based implementation.
- Backed by the npm ecosystem. - Backed by the npm ecosystem.
- webpack-based debug builds supporting ES6 - webpack-based debug builds supporting ES6
## Install
```bash
npm install antd
```
For a version compatible with React 0.14+ please use our beta version of [0.10.0](https://github.com/ant-design/ant-design/issues/276).
```bash
npm install antd@beta
```
## Usage example ## Usage example
@ -30,6 +42,11 @@ import Datepicker from 'antd/lib/datepicker';
ReactDOM.render(<Datepicker />, mountNode); ReactDOM.render(<Datepicker />, mountNode);
``` ```
## Browser Support
Normal browsers and Internet Explorer 8+.
## Links ## Links
- [Home page](http://ant.design/) - [Home page](http://ant.design/)