UNPKG

bootstrap-vue

Version:

Quickly integrate Bootstrap 4 components with Vue.js

29 lines (23 loc) 584 B
import bCard from './card'; import bCardHeader from './card-header'; import bCardBody from './card-body'; import bCardFooter from './card-footer'; import bCardImg from './card-img'; import bCardGroup from './card-group'; import { registerComponents, vueUse } from '../../utils'; /* eslint-disable no-var, no-undef, guard-for-in, object-shorthand */ const components = { bCard, bCardHeader, bCardBody, bCardFooter, bCardImg, bCardGroup }; const VuePlugin = { install(Vue) { registerComponents(Vue, components); } }; vueUse(VuePlugin); export default VuePlugin