首页 > 解决方案 > 如何用蚂蚁设计呈现字典列表?

问题描述

我想以一种很好的方式显示字典。在标准 HTML 中,我会使用 DL 标签。我还没有在 ant.design 中找到类似的东西。

标签: antd

解决方案


当您使用 ant-design 时,您必须安装yarn add antdnpm install antd --save

之后,ant-design 最简单的方法是添加 index.html(ex.For React)

https://cdnjs.com/libraries/antd

您可以使用这些链接。

<link type="stylesheet" href="paste the antd css from url">

然后,您将使用它。

最后,我向您推荐“min.css”文件。


推荐阅读