@@ -193,8 +193,6 @@ Guide for full details on setting up aliases for [webpack](https://webpack.js.or
193193
194194## Tree shaking with module bundlers
195195
196- <span class =" badge badge-info small " >SIMPLIFIED in 2.0.0-rc.20</span >
197-
198196When using a module bundler you can optionally import only specific components groups (plugins),
199197components and/or directives.
200198
@@ -208,8 +206,6 @@ components and/or directives.
208206
209207### Component groups and directives as Vue plugins
210208
211- <span class =" badge badge-info small " >CHANGED in 2.0.0-rc.22</span >
212-
213209You can import component groups and directives as Vue plugins by importing from the ` bootstrap-vue ` :
214210
215211<!-- eslint-disable import/first, import/no-duplicates -->
@@ -256,8 +252,6 @@ single `import` statement for optimal tree shaking.
256252
257253### Individual components and directives
258254
259- <span class =" badge badge-info small " >CHANGED in 2.0.0-rc.22</span >
260-
261255If you would like to only pull in a specific component or set of components, you can do this by
262256directly importing those components.
263257
@@ -304,8 +298,6 @@ object property shorthand (components only).
304298
305299### Using BootstrapVue source code for smaller bundles
306300
307- <span class =" badge badge-info small " >For advanced users</span >
308-
309301When using module bundlers, they will usually default to using the ` esm/ ` modular build, which has
310302been pre-transpiled by Babel for our
311303[ supported browsers] ( https://github.com/bootstrap-vue/bootstrap-vue/blob/master/.browserslistrc ) .
@@ -439,14 +431,11 @@ import 'custom.scss'
439431
440432### ` transformAssetUrls ` with Nuxt.js
441433
442- <span class =" badge badge-info small " >NEW in v2.0.0-rc.22</span > The BootstrapVue Nuxt plugin module
443- will automatically add in the BootstrapVue specific [ ` transformAssetUrls ` ] ( /docs/reference/images )
444- image ` src ` prop configuration for you.
434+ The BootstrapVue Nuxt plugin module will automatically add in the BootstrapVue specific
435+ [ ` transformAssetUrls ` ] ( /docs/reference/images ) image ` src ` prop configuration for you.
445436
446437### Tree shaking with Nuxt.js
447438
448- <span class =" badge badge-info small " >ENHANCED in 2.0.0-rc.20</span >
449-
450439If you wish to reduce your production bundle size because you only use a subset of the available
451440BootstrapVue plugins, you can configure the list of BootstrapVue ` componentPlugins ` or
452441` directivePlugins ` you want to globally install in your Nuxt.js project.
@@ -469,18 +458,17 @@ module.exports = {
469458}
470459```
471460
472- < span class = " badge badge-info small " >NEW in 2.0.0-rc.20</ span > There are two additional helper
473- plugins for providing the ` $bvModal ` and ` $bvToast ` injections (if you are not using the
474- ` ModalPlugin ` or ` ToastPlugin ` plugins) that are available in the ` componentPlugins ` option:
461+ There are two additional helper plugins for providing the ` $bvModal ` and ` $bvToast ` injections (if
462+ you are not using the ` ModalPlugin ` or ` ToastPlugin ` plugins) that are available in the
463+ ` componentPlugins ` option:
475464
476465- ` BVModalPlugin ` - provides the injection ` $bvModal ` for generating
477466 [ message boxes] ( /docs/components/modal#modal-message-boxes ) .
478467- ` BVToastPlugin ` - provides the injection ` $bvToast ` for generating
479468 [ on demand toasts] ( /docs/components/toast#toasts-on-demand ) .
480469
481- <span class =" badge badge-info small " >NEW in 2.0.0-rc.20</span > You can also optionally import
482- individual components and/or directives, by configuring the list of BootstrapVue ` components ` or
483- ` directives ` you want to globally install in your Nuxt.js project.
470+ You can also optionally import individual components and/or directives, by configuring the list of
471+ BootstrapVue ` components ` or ` directives ` you want to globally install in your Nuxt.js project.
484472
485473``` js
486474module .exports = {
@@ -540,37 +528,6 @@ pre-transpiled versions, while setting it to `false` will always use `src/`. By
540528` usePretranspiled ` is enabled in development mode only. You should not need to use this option as
541529the default is most optimal for performance.
542530
543- ## Vue CLI 2
544-
545- <span class =" badge badge-warning small " >DEPRECATED</span > Use [ Vue CLI 3] ( #vue-cli-3 ) instead.
546-
547- BootstrapVue has two Vue CLI templates available:
548-
549- - [ webpack-simple] ( https://github.com/bootstrap-vue/webpack-simple ) : Quick scaffold for a proof of
550- concept or small app
551- - [ webpack] ( https://github.com/bootstrap-vue/webpack ) : Larger, production ready template with more
552- options
553-
554- ``` bash
555- # Ensure Vue CLI is installed and up to date
556- npm install -g vue-cli
557-
558- # Initialize a BootstrapVue project in the directory 'my-project'
559- vue init bootstrap-vue/webpack-simple my-project
560-
561- # Change into the directory
562- cd my-project
563-
564- # Install dependencies
565- npm install
566-
567- # Fire up the dev server with HMR
568- npm run dev
569- ```
570-
571- You can repeat the commands above replacing ` bootstrap-vue/webpack-simple ` with
572- ` bootstrap-vue/webpack ` for the webpack template.
573-
574531## Vue CLI 3
575532
576533Unlike V2, Vue CLI 3 doesn't use templates.
0 commit comments