mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
update README.md
This commit is contained in:
parent
34665d9d70
commit
5c1c17b05f
@ -17,6 +17,19 @@
|
||||
- 基于 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);
|
||||
```
|
||||
|
||||
## 浏览器支持
|
||||
|
||||
现代浏览器和IE8 及以上。
|
||||
|
||||
## 链接
|
||||
|
||||
- [首页](http://ant.design/)
|
||||
|
17
README.md
17
README.md
@ -12,6 +12,18 @@ An enterprise-class UI design language and React-based implementation.
|
||||
- Backed by the npm ecosystem.
|
||||
- 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
|
||||
|
||||
@ -30,6 +42,11 @@ import Datepicker from 'antd/lib/datepicker';
|
||||
ReactDOM.render(<Datepicker />, mountNode);
|
||||
```
|
||||
|
||||
## Browser Support
|
||||
|
||||
Normal browsers and Internet Explorer 8+.
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
- [Home page](http://ant.design/)
|
||||
|
Loading…
Reference in New Issue
Block a user