Closed Monroe123 closed 4 years ago
I want to jump by this.$router.push({name: xxx, query: {key: value}}), but got an error
What error did you get?
What error did you get?
i hava a similar doubt
when i commented out this code in ‘root-html-file/index.html’
// 'root-html-file/index.html'
Promise.all([System.import('single-spa'), System.import('vue'), System.import('vue-router')]).then(function (modules) {
//var singleSpa = modules[0];
//var Vue = modules[1];
//var VueRouter = modules[2];
//Vue.use(VueRouter)
it will be error to use router in 'navbar/src/App.vue'
this.$router.push('/navbar')
// this.$router is undefined
but it works in vue-microfrontends[https://github.com/vue-microfrontends]
https://github.com/joeldenning/coexisting-vue-microfrontends/issues/37#issuecomment-607659665 is a duplicate of #52
I am closing this issue due to inactivity
From Bing Translate:
@Monroe123 could you provide more detail? I do not understand what "jump through the router's name jump page" means.