update document

pull/3397/head
afc163 8 years ago
parent 216f046f3b
commit 1e1a3e755c

@ -8,7 +8,6 @@
[![](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)
[![NPM downloads](http://img.shields.io/npm/dm/antd.svg?style=flat-square)](https://npmjs.org/package/antd)
[![CDNJS](https://img.shields.io/cdnjs/v/antd.svg?style=flat-square)](https://cdnjs.com/libraries/antd)
[![Dependency Status](https://david-dm.org/ant-design/ant-design.svg?style=flat-square)](https://david-dm.org/ant-design/ant-design)
[![Join the chat at https://gitter.im/ant-design/ant-design](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ant-design/ant-design?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

@ -7,7 +7,6 @@ title: Installation
**We recommend using npm to install**it not only makes development easierbut you can also take advantage of the whole ecosystem.
If using npm to install, you could use `import` or `require`.
Stable version
@ -18,8 +17,7 @@ Stable version
$ npm install antd --save
```
You can Subscribe to this feed for new version notification: https://github.com/ant-design/ant-design/releases.atom
You can subscribe to this feed for new version notification: https://github.com/ant-design/ant-design/releases.atom
Beta version
@ -29,10 +27,10 @@ Beta version
$ npm install antd@beta --save
```
> **Past releases**https://github.com/ant-design/ant-design/releases
## Import in Browser
[![CDNJS](https://img.shields.io/cdnjs/v/antd.svg?style=flat-square)](https://cdnjs.com/libraries/antd)
We provide `antd.js` `antd.css` and `antd.min.js` `antd.min.css` under `antd/dist` in antd's npm package, in order to import all the components of antd directly. Also, you can use [unpkg](https://unpkg.com/).
> It's not recommended to use the already built files, as you cannot get bugfixes from the dependencies of antd.

@ -27,11 +27,10 @@ $ npm install antd --save
$ npm install antd@beta --save
```
> **历史版本**https://github.com/ant-design/ant-design/releases
## 浏览器引入
[![CDNJS](https://img.shields.io/cdnjs/v/antd.svg?style=flat-square)](https://cdnjs.com/libraries/antd)
我们在 npm 发布包内的 `antd/dist` 目录下提供了 `antd.js` `antd.css` 以及 `antd.min.js` `antd.min.css` 用于一次性引入所有的 antd 组件,也可以通过 [UNPKG](https://unpkg.com/) 进行下载。
> 不推荐使用构建文件,因为难以获得底层依赖模块的 bug 快速修复支持。

Loading…
Cancel
Save