bootstrap-vue
Version:
BootstrapVue, with over 40 plugins and more than 75 custom components, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.
50 lines (44 loc) • 1.79 kB
JavaScript
/*!
* BoostrapVue 2.0.0-rc.24
*
* @link https://bootstrap-vue.js.org
* @source https://github.com/bootstrap-vue/bootstrap-vue
* @copyright (c) 2016-2019 BootstrapVue
* @license MIT
* https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE
*/
import { installFactory } from './utils/plugins';
import { setConfig } from './utils/config-set';
import { componentsPlugin } from './components/index.esm';
import { directivesPlugin } from './directives/index.esm';
import BVConfigPlugin from './bv-config'; // Named exports of all components and component group plugins
export * from './components/index.esm'; // Named exports of all directives and directive group plugins
export * from './directives/index.esm'; // BootstrapVue installer
var install =
/*#__PURE__*/
installFactory({
plugins: {
componentsPlugin: componentsPlugin,
directivesPlugin: directivesPlugin
}
}); // BootstrapVue plugin
var BootstrapVue =
/*#__PURE__*/
{
install: install,
// To be deprecated. not documented
setConfig: setConfig // Named exports for BvConfigPlugin and BootstrapVue
};
export { // BV Config Plugin
BVConfigPlugin, // BVConfigPlugin has been documented as BVConfig as well,
// so we add an alias to the shorter name for backwards compat
BVConfigPlugin as BVConfig, // Main BootstrapVue Plugin
BootstrapVue, // Installer and setConfig exported 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:
// BootstrapVue = require('bootstrap-vue')
// BootstrapVue = require('bootstrap-vue').default
// Vue.use(BootstrapVue)
install, // To be deprecated. not documented
setConfig }; // Default export is the BootstrapVue plugin
export default BootstrapVue;