UNPKG

bootstrap-vue

Version:

Quickly integrate Bootstrap 4 components with Vue.js

27 lines (22 loc) 704 B
import bForm from './form'; import bFormRow from './form-row'; import bFormText from './form-text'; import bFormInvalidFeedback from './form-invalid-feedback'; import bFormValidFeedback from './form-valid-feedback'; import { registerComponents, vueUse } from '../../utils'; /* eslint-disable no-var, no-undef, guard-for-in, object-shorthand */ var components = { bForm: bForm, bFormRow: bFormRow, bFormText: bFormText, bFormInvalidFeedback: bFormInvalidFeedback, bFormFeedback: bFormInvalidFeedback, bFormValidFeedback: bFormValidFeedback }; var VuePlugin = { install: function install(Vue) { registerComponents(Vue, components); } }; vueUse(VuePlugin); export default VuePlugin;