npm install jquery

npm install bootstrap

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 './assets/css/fontawesome-all.min.css';
</style>

 

相关文章:

  • 2021-07-19
  • 2021-06-07
  • 2021-05-10
  • 2021-07-26
  • 2021-11-29
猜你喜欢
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-01-14
  • 2022-01-19
相关资源
相似解决方案