1
1
import { installFactory } from './utils/plugins'
2
- import { setConfig } from './utils/config-set'
3
2
import { componentsPlugin } from './components/index.esm'
4
3
import { directivesPlugin } from './directives/index.esm'
5
4
import BVConfigPlugin from './bv-config'
@@ -18,30 +17,26 @@ const install = /*#__PURE__*/ installFactory({ plugins: { componentsPlugin, dire
18
17
// BootstrapVue plugin
19
18
const BootstrapVue = /*#__PURE__*/ {
20
19
install,
21
- NAME ,
22
- // To be deprecated. not documented
23
- setConfig
20
+ NAME
24
21
}
25
22
26
23
// Named exports for BvConfigPlugin and BootstrapVue
27
24
export {
25
+ // Installer exported in case the consumer does not import `default`
26
+ // as the plugin in CommonJS build (or does not have interop enabled
27
+ // for CommonJS). Both the following will work:
28
+ // BootstrapVue = require('bootstrap-vue')
29
+ // BootstrapVue = require('bootstrap-vue').default
30
+ // Vue.use(BootstrapVue)
31
+ install ,
32
+ NAME ,
28
33
// BV Config Plugin
29
34
BVConfigPlugin ,
30
35
// BVConfigPlugin has been documented as BVConfig as well,
31
36
// so we add an alias to the shorter name for backwards compat
32
37
BVConfigPlugin as BVConfig ,
33
38
// Main BootstrapVue Plugin
34
- BootstrapVue ,
35
- // Installer and setConfig exported in case the consumer does not
36
- // import `default` as the plugin in CommonJS build (or does not
37
- // have interop enabled for CommonJS). Both the following will work:
38
- // BootstrapVue = require('bootstrap-vue')
39
- // BootstrapVue = require('bootstrap-vue').default
40
- // Vue.use(BootstrapVue)
41
- install ,
42
- NAME ,
43
- // To be deprecated. not documented
44
- setConfig
39
+ BootstrapVue
45
40
}
46
41
47
42
// Default export is the BootstrapVue plugin
0 commit comments