1vue create appname --preferrable vue 2
2
3cd appname
4
5npm install vue bootstrap bootstrap-vue
6
7add this to your main.js file
8import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'
9
10// Import Bootstrap an BootstrapVue CSS files (order is important)
11import 'bootstrap/dist/css/bootstrap.css'
12import 'bootstrap-vue/dist/bootstrap-vue.css'
13
14// Make BootstrapVue available throughout your project
15Vue.use(BootstrapVue)
16// Optionally install the BootstrapVue icon components plugin
17Vue.use(IconsPlugin)
1//for vue 3(in theory)
2
3cd [project-name]
4vue add bootstrap-vue
5//in vue 3, when running 'npm run serve' gives 4 warnings and the preview doesn't show up
6//in vue 2 it works fine