vue install with bootstrap code example

Example 1: install bootstrap vue

//for vue 3(in theory)

cd [project-name]
vue add bootstrap-vue
//in vue 3, when running 'npm run serve' gives 4 warnings and the preview doesn't show up
//in vue 2 it works fine

Example 2: install bootstrap vue laravel 7

import Vue from 'vue'
import BootstrapVue from "bootstrap-vue"
import App from './App.vue'
import "bootstrap/dist/css/bootstrap.min.css"
import "bootstrap-vue/dist/bootstrap-vue.css"

Vue.use(BootstrapVue)

new Vue({
  el: '#app',
  render: h => h(App)
})