docs: update document format (#38725)

This commit is contained in:
zqran 2022-11-19 13:18:51 +08:00 committed by GitHub
parent 30fb068ba5
commit 919f7f94d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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`,请确保提前引入这些文件。
## 示例