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
34 lines (27 loc) • 979 B
JavaScript
// Icons only build
import { BootstrapVueIcons, IconsPlugin } from './icons'
const install = BootstrapVueIcons.install
const NAME = BootstrapVueIcons.NAME
export {
// Installer exported just in case the consumer does not import `default`
// as the plugin in CommonJS build (or does not have interop enabled
// for CommonJS). Both the following will work:
// BootstrapVueIcons = require('bootstrap-vue/dist/bootstrap-vue-icons.common')
// BootstrapVueIcons = require('bootstrap-vue/dist/bootstrap-vue-icons.common').default
// Vue.use(BootstrapVueIcons)
install,
NAME,
// Main BootstrapVueIcons Plugin
BootstrapVueIcons,
IconsPlugin
}
//
// Export Icon components
//
// export * from './icons'
export { BIcon } from './icons/icon'
// This re-export is only a single level deep, which
// Webpack 4 handles correctly when tree shaking
export * from './icons/icons'
// Default export is the BootstrapVueIcons plugin
export default BootstrapVueIcons