mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
update README.md
This commit is contained in:
parent
34665d9d70
commit
5c1c17b05f
@ -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/)
|
||||||
|
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.
|
- 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/)
|
||||||
|
Loading…
Reference in New Issue
Block a user