Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.9k
Generated Vue-Cli project: error using VueRouter#7037
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I have this Problem: The original example works, There is no difference if I use the router vue create client => vue 2
Versions in the generated project as specified onhttps://bootstrap-vue.org/: generated main.js, modified: import Vue from 'vue'import App from './App.vue'Vue.config.productionTip = false// additional lines to generated example: startimport VueRouter from 'bootstrap-vue'const routes = [ { path: '/', component: App }]const my_router = new VueRouter({ routes });Vue.use(my_router)** // additional lines to generated example: end_new Vue({ render: h => h(App),}).$mount('#app') Browser => Blank site with error message in the console: Uncaught TypeError: bootstrap_vue__WEBPACK_IMPORTED_MODULE_2__.default is not a constructor |
BetaWas this translation helpful?Give feedback.
All reactions
This doesn't look quite right
import VueRouter from 'bootstrap-vue'
Replies: 1 comment 1 reply
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
This doesn't look quite right
|
BetaWas this translation helpful?Give feedback.
All reactions
-
thank you very much, that's it ! |
BetaWas this translation helpful?Give feedback.