Closed
Description
BV exposes itself:
- as
window.bootstrapVue
, not aswindow.BootstrapVue
compare global.VueRouter = factory()
https://github.com/vuejs/vue-router/blob/dev/dist/vue-router.js#L9
vs global.bootstrapVue = factory()
https://unpkg.com/browse/bootstrap-vue@2.0.0-rc.27/dist/bootstrap-vue.js
- another inconsistency: function vs object
VueRouter
ƒ VueRouter (options) {
if ( options === void 0 ) options = {};
this.app = null;
this.apps = [];
this.options = options;
this.beforeHooks = [];
this.resolveHooks = [];
this.afterHooks = …
bootstrapVue
{install: ƒ, setConfig: ƒ}
- that brings in needless confusion :-)