刚解决了之前的一个问题,引入iconfont字体文件不显示。之前引入文件,路径没问题,可是.css文件总飘红
前端学习笔记-8.10.1iconfont飘红问题
引入也不起作用。
原来是缺个css预处理器,我用的是stylus。
下载,安装了2个依赖,
npm install stylus
npm install stylus-loader
把iconfont.css改成
iconfont.styl样式就显示了

相关文章:

  • 2021-11-30
  • 2021-11-30
  • 2021-08-23
  • 2021-11-30
  • 2021-11-30
  • 2021-11-30
  • 2021-11-30
  • 2021-11-30
猜你喜欢
  • 2021-10-03
  • 2021-08-10
相关资源
相似解决方案