bootstrap-vue
Version:
Quickly integrate Bootstrap 4 components with Vue.js
20 lines (15 loc) • 438 B
JavaScript
import bCollapse from './collapse';
import togglePlugin from '../../directives/toggle';
import { registerComponents, vueUse } from '../../utils';
/* eslint-disable no-var, no-undef, guard-for-in, object-shorthand */
var components = {
bCollapse: bCollapse
};
var VuePlugin = {
install: function install(Vue) {
registerComponents(Vue, components);
Vue.use(togglePlugin);
}
};
vueUse(VuePlugin);
export default VuePlugin;