安装svg-icons npm i --save @fortawesome/free-regular-svg-icons npm i --save @fortawesome/free-solid-svg-icons 引入icon import{library}from'@fortawesome/fontawesome-svg-core'// 引入所有图标import*asfaIconsfrom'@fortawesome/free-solid-svg-icons'// 引入FontAwesomeIcon组件import{FontAwesomeIcon}...
npm install popper.js. import $ from 'jquery' import 'bootstrap' import '../node_modules/bootstrap/dist/css/bootstrap.css'; window.$=$ let jQuery= $; 将fontawesome文件夹的 fontawesome-all.min.css拷贝到assets/css中, 将fontawesome的webfonts拷贝到assets中 App.vue中 <style scoped> @import...