Answers for "use bootstrap in vue"

1

use bootstrap in vue

vue create appname --preferrable vue 2

cd appname

npm install vue bootstrap bootstrap-vue

add this to your main.js file
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'

// Import Bootstrap an BootstrapVue CSS files (order is important)
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'

// Make BootstrapVue available throughout your project
Vue.use(BootstrapVue)
// Optionally install the BootstrapVue icon components plugin
Vue.use(IconsPlugin)
Posted by: Guest on July-31-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language