Bootstrap-vue doesn't load CSS

前端 未结 5 2224
感动是毒
感动是毒 2021-02-13 11:38

I am writing a Vue.js app with Bootstrap 4 and I can\'t loaded though I followed the documentation.

Added to main.js

Vue.use(BootstrapVue);

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-13 12:11

    Solution:

    Import to App.vue:

    '../../node_modules/bootstrap/dist/css/bootstrap.css';
    '../../node_modules/bootstrap-vue/dist/bootstrap-vue.css';
    

提交回复
热议问题