UNPKG

bootstrap-vue

Version:

BootstrapVue provides one of the most comprehensive implementations of Bootstrap 4 components and grid system for Vue.js and with extensive and automated WAI-ARIA accessibility markup.

30 lines (25 loc) 652 B
import bNavbar from './navbar' import bNavbarNav from './navbar-nav' import bNavbarBrand from './navbar-brand' import bNavbarToggle from './navbar-toggle' import navPlugin from '../nav' import collapsePlugin from '../collapse' import dropdownPlugin from '../dropdown' import { registerComponents, vueUse } from '../../utils/plugins' const components = { bNavbar, bNavbarNav, bNavbarBrand, bNavbarToggle, bNavToggle: bNavbarToggle } const VuePlugin = { install (Vue) { registerComponents(Vue, components) Vue.use(navPlugin) Vue.use(collapsePlugin) Vue.use(dropdownPlugin) } } vueUse(VuePlugin) export default VuePlugin