Browse Source

Add moment dep documentation

pull/8752/head
afc163 7 years ago
parent
commit
6236cb144b
  1. 2
      docs/react/introduce.en-US.md
  2. 2
      docs/react/introduce.zh-CN.md

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

@ -69,6 +69,8 @@ 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`.
## Usage
```jsx

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

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

Loading…
Cancel
Save