第一种: 按照下图修改两处代码 添加配置 修改 提醒如果找不到请先 create-react-app 配置 antd 按需加载 第二种 在public 的 index.html 中 index.html 来自 https://github.com/yezihaohao/react-admin