vue 第三方图标库
"font-awesome": "^4.7.0",
"dependencies": { "axios": "^0.18.0", "element-ui": "^2.4.11", "font-awesome": "^4.7.0", "js-cookie": "^2.2.0", "vue": "^2.5.2", "vue-i18n": "^8.7.0", "vue-router": "^3.0.1" },
main.js中引入
import 'font-awesome/css/font-awesome.min.css'
样式的引入,安装,在main.js中加载就可以了,回顾一下element样式的引入,也是先安装,然后在main.js中同样有样式加入
import 'element-ui/lib/theme-chalk/index.css'