mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
docs: update document format (#38725)
This commit is contained in:
parent
30fb068ba5
commit
919f7f94d0
@ -78,7 +78,7 @@ We provide `antd.js` and `antd.min.js` `reset.css` under [dist](https://unpkg.co
|
||||
|
||||
> **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 react/react-dom/dayjs before using antd.js.
|
||||
> Note: You should import `react`、`react-dom`、`dayjs` before using `antd.js`.
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -78,7 +78,7 @@ $ yarn add antd
|
||||
|
||||
> **强烈不推荐使用已构建文件**,这样无法按需加载,而且难以获得底层依赖模块的 bug 快速修复支持。
|
||||
|
||||
> 注意:`antd.js` 和 `antd.min.js` 依赖 `react/react-dom/dayjs`,请确保提前引入这些文件。
|
||||
> 注意:`antd.js` 和 `antd.min.js` 依赖 `react`、`react-dom`、`dayjs`,请确保提前引入这些文件。
|
||||
|
||||
## 示例
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user