huanhuan55

网址:http://www.iconfont.cn/

1.

2.

1.下载Font Class类型的到本地
2.把iconfont.css iconfont.eot iconfont.svg iconfont.ttf iconfont.woff 这几个文件复制到vue项目中的src的新建的icon目录下
3.在main.js中引入 import "./icon/iconfont.css"
4.在项目中使用<span class="iconfont icon-huiyuan"></span> //icon-huiyuan在iconfont.css中

注意:iconfont这个别忘了

分类:

技术点:

相关文章:

  • 2021-12-09
  • 2021-12-06
  • 2021-12-26
  • 2022-12-23
  • 2021-12-07
  • 2021-06-17
  • 2021-12-26
猜你喜欢
  • 2021-11-29
  • 2022-01-15
  • 2021-11-28
  • 2021-10-11
  • 2021-11-03
  • 2021-08-03
  • 2021-12-06
相关资源
相似解决方案