bootstrap-vue
Version:
With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extens
26 lines (23 loc) • 666 B
JavaScript
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 { pluginFactory } from '../../utils/plugins'
const NavbarPlugin = /*#__PURE__*/ pluginFactory({
components: {
BNavbar,
BNavbarNav,
BNavbarBrand,
BNavbarToggle,
BNavToggle: BNavbarToggle
},
plugins: {
NavPlugin,
CollapsePlugin,
DropdownPlugin
}
})
export { NavbarPlugin, BNavbar, BNavbarNav, BNavbarBrand, BNavbarToggle }