From 1e1a3e755c368e82b1be03c2215ca85a7e858772 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 29 Oct 2016 15:49:56 +0800 Subject: [PATCH] update document --- README.md | 1 - docs/react/install.en-US.md | 8 +++----- docs/react/install.zh-CN.md | 5 ++--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 81092e8c9a..e35d563f58 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/docs/react/install.en-US.md b/docs/react/install.en-US.md index 3f1aaf8411..31f1e060ed 100644 --- a/docs/react/install.en-US.md +++ b/docs/react/install.en-US.md @@ -7,7 +7,6 @@ title: Installation **We recommend using npm to install**,it not only makes development easier,but 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. diff --git a/docs/react/install.zh-CN.md b/docs/react/install.zh-CN.md index 98bcc621bd..b1b3052d3f 100644 --- a/docs/react/install.zh-CN.md +++ b/docs/react/install.zh-CN.md @@ -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 快速修复支持。