Browse Source

📝 update introduce.md

pull/22963/head
afc163 5 years ago
parent
commit
f5d4bde04b
  1. 2
      docs/react/introduce.en-US.md
  2. 2
      docs/react/introduce.zh-CN.md

2
docs/react/introduce.en-US.md

@ -70,7 +70,7 @@ We provide `antd.js` `antd.css` and `antd.min.js` `antd.min.css` under `antd/dis
> **We strongly discourage loading the entire files** this will add bloat to your application and make it more difficult to receive bugfixes and updates. Antd is intended to be used in conjunction with a build tool, such as [webpack](https://webpack.github.io/), which will make it easy to import only the parts of antd that you are using.
> Note: you should import moment before using antd.js after `3.0`.
> Note: you should import react/react-dom/moment before using antd.js.
## Usage

2
docs/react/introduce.zh-CN.md

@ -70,7 +70,7 @@ $ yarn add antd
> **强烈不推荐使用已构建文件**,这样无法按需加载,而且难以获得底层依赖模块的 bug 快速修复支持。
> 注意:3.0 之后引入 antd.js 前你需要自行引入 [moment](http://momentjs.com/)
> 注意:antd.js 依赖 react/react-dom/moment,请确保提前引入这些文件
## 示例

Loading…
Cancel
Save