antd Iconfont 没网本地化设置。配置很少,相当实用
一。在自己项目文件夹中找到index.js/或者是index.jsx,在引入的的css文件中加入如下两行代码。@import “~antd/dist/antd.less”;@import “./custom.less”;二。在和index.less的同级目录下,新建custom.less文件。在该文件中输入如下代码:@icon-url: “./iconfont/iconfont”;三。同样...
原创
2020-03-20 11:59:47 ·
637 阅读 ·
0 评论