#npmnpminstallvuebootstrap-vuebootstrap#yarnyarnaddvuebootstrap-vuebootstrap1234512345
使用
main.js
//导入bootstrapicons图标插件组件import{BootstrapVue,IconsPlugin}from'bootstrap-vue'//导入stylesheet样式import'bootstrap/dist/css/bootstrap.css'import'bootstrap-vue/dist/bootstrap-vue.css'//安装BootstrapVueVue.use(BootstrapVue)//可选地安装BootstrapVue图标插件组件Vue.use(IconsPlugin)