vue中引入iconfont 首先在iconfont网上下载文件包,然后在assets下创建iconfont文件夹,之后粘贴如下文件 最后在main.js中引入即可 import "./assets/iconfont/iconfont.css";