antd - 如何用蚂蚁设计呈现字典列表?
问题描述
我想以一种很好的方式显示字典。在标准 HTML 中,我会使用 DL 标签。我还没有在 ant.design 中找到类似的东西。
解决方案
当您使用 ant-design 时,您必须安装yarn add antd
或npm 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”文件。
推荐阅读
- r - 使用 R 中的 sum 和 table summary 转换两个子图块
- python - 使用 pathlib 构建路径以进行导入 - 不工作
- pandas - 数据帧之间的查找值
- git - 我无法在 GitHub Action 中提交。退出代码 128
- python - AttributeError: 'Styler' 对象在应用'style.applymap' 后没有属性'get'
- python-3.x - 使用 setuptools 构建车轮时包含数据文件
- amazon-web-services - 具有特定私有 IP 的 Terraform AWS 实例
- php - 未定义操作方法,此错误是对使用 codeigniter 4 的 curl 请求的响应
- android - 为什么会有一条线?我没有添加那行
- javascript - 在没有 event.stopPropagation() 的情况下单击下拉 div 时防止引导选择的下拉菜单关闭