@@ -12,25 +12,25 @@ Released 2019-05-31
12
12
13
13
### Notable Changes v2.0.0-rc.22
14
14
15
- - Improved/shortened method for importing of plugins, components, and directives, as top-level named
16
- exports. The ESM and CJS builds now both include these top level named exports:
15
+ - Improved/shortened method for importing of plugins, components, and directives, as top-level
16
+ named exports. The ESM and CJS builds now both include these top level named exports:
17
17
- Default export is still the BootstrapVue plugin
18
- - Simplified import format for importing components, directives, plugins: import { ModalPlugin,
19
- CardPlugin, BAlert, BRow, BCol, VBScollspyPlugin } from 'bootstrap-vue'
20
- - New esm/ modular build with top-level named exports (tree shakeable)
21
- - New dist/bootstrap-vue.esm.js esm bundle with top-level named exports
22
- - New dist/bootstrap-vue.common.js bundle with top-level named exports
18
+ - Simplified import format for importing components, directives, plugins:< br >
19
+ ` import { ModalPlugin, CardPlugin, BAlert, BRow, BCol, VBScollspyPlugin } from 'bootstrap-vue'`
20
+ - New ` esm/ ` modular build with top-level named exports (tree shakeable)
21
+ - New ` dist/bootstrap-vue.esm.js ` esm bundle with top-level named exports
22
+ - New ` dist/bootstrap-vue.common.js ` cjs bundle with top-level named exports
23
23
- No need to cherry-pick from sub directories for plugins/components/directives
24
24
- Most package bundlers will pick the appropriate build automatically
25
25
- Nuxt module:
26
26
- Improved tree shaking using the new import syntax
27
27
- Automatically adds ` transformAssetUrls ` settings for BootstrapVue component props.
28
- - Reverted the ` es/ ` build directory back to mini-commonjs modules (from true ES modules introduced in
29
- v2.0.0-rc.21) due to issues with Nuxt.js and some webpack builds expecting CJS format when
28
+ - Reverted the ` es/ ` build directory back to mini-commonjs modules (from true ES modules introduced
29
+ in v2.0.0-rc.21) due to issues with Nuxt.js and some webpack builds expecting CJS format when
30
30
cherry-picking individual components, directives and plugins from sub-directories.
31
31
- ** DEPRECATION: The ` es/ ` build has been deprecated in favour of the newer ` esm ` build and ` cjs `
32
- bundle, which allow for importing individual components, directives and plugins from top-level named
33
- exports.** Users are encouraged to convert their existing imports to the new syntax.
32
+ bundle, which allow for importing individual components, directives and plugins from top-level
33
+ named exports.** Users are encouraged to convert their existing imports to the new syntax.
34
34
35
35
### Bug Fixes v2.0.0-rc.22
36
36
@@ -88,7 +88,7 @@ Released 2019-05-31
88
88
89
89
Released 2019-05-26
90
90
91
- Note: this version introduced a bug with using BootstrapVue with Nuxt module in dev mode.
91
+ Note: this version introduced a bug when using BootstrapVue with Nuxt.js module in dev mode.
92
92
Please use version v2.0.0-rc.22 or newer.
93
93
94
94
### Bug Fixes v2.0.0-rc.21
0 commit comments