README.md 2.0 KB
Newer Older
A
afc163 已提交
1
# Ant Design [![](https://img.shields.io/travis/ant-design/ant-design.svg?style=flat-square)](https://travis-ci.org/ant-design/ant-design) [![npm package](https://img.shields.io/npm/v/antd.svg?style=flat-square)](https://www.npmjs.org/package/antd) [![Dependency Status](https://david-dm.org/ant-design/ant-design.svg?style=flat-square)](https://david-dm.org/ant-design/ant-design)
A
afc163 已提交
2

A
afc163 已提交
3
一套企业级的前端设计语言和基于 React 的实现。
A
afc163 已提交
4

A
afc163 已提交
5
仍在紧密开发中,预计 8 月份推出 beta 版本。
A
afc163 已提交
6

A
afc163 已提交
7
![](https://t.alipayobjects.com/images/rmsweb/T11aVgXc4eXXXXXXXX.svg)
A
afc163 已提交
8

Y
add lib  
yiminghe 已提交
9

A
afc163 已提交
10 11
## 特性

A
afc163 已提交
12 13
- 企业级金融产品的交互语言和视觉体系。
- 丰富实用的 React UI 组件。
A
afc163 已提交
14
- 基于 React 的组件化开发模式。
A
afc163 已提交
15
- 背靠 npm 生态圈。
A
afc163 已提交
16 17
- 基于 webpack 的调试构建方案,支持 ES6。

A
afc163 已提交
18

A
afc163 已提交
19
## 示例
A
afc163 已提交
20

A
afc163 已提交
21 22 23
```jsx
var antd = require('antd');
var Datepicker = antd.Datepicker;
A
afc163 已提交
24

A
afc163 已提交
25 26
React.render(<Datepicker />, mountNode);
```
A
afc163 已提交
27 28 29 30

## 链接

- [首页](http://ant.design/)
A
afc163 已提交
31
- [文档](http://ant.design/docs/introduce)
A
afc163 已提交
32
- [组件](http://ant.design/components/)
A
afc163 已提交
33 34
- [构建调试工具](https://github.com/ant-design/antd-bin)
- [开发计划](https://github.com/ant-design/ant-design/issues/9)
A
afc163 已提交
35
- [修改记录](CHANGELOG.md)
A
afc163 已提交
36
- [React 模块](http://react-component.github.io/)
A
afc163 已提交
37 38
- [React 代码规范](https://github.com/react-component/react-component.github.io/blob/master/docs/zh-cn/component-code-style.md)
- [组件设计原则](https://github.com/react-component/react-component.github.io/blob/master/docs/zh-cn/component-design.md)
A
afc163 已提交
39 40


A
afc163 已提交
41 42 43 44 45
## 如何贡献

我们欢迎任何形式的贡献,有任何建议或意见您可以进行 [Pull Request](https://github.com/ant-design/ant-design/pulls),或者给我们[提问](https://github.com/ant-design/ant-design/issues)


A
afc163 已提交
46 47
## 开发说明

A
afc163 已提交
48 49 50 51 52 53 54 55
#### 本地调试

```bash
$ npm start
```

然后访问 http://127.0.0.1:8000 。

A
afc163 已提交
56
#### [网站](http://ant.design)部署
A
afc163 已提交
57 58 59 60

```bash
$ npm run deploy
```
A
afc163 已提交
61

A
afc163 已提交
62
#### 版本构建
A
afc163 已提交
63 64

```bash
A
afc163 已提交
65
$ npm run release
Y
add lib  
yiminghe 已提交
66
```