-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
主应用切换至vue3后,两个router冲突BUG #27
Comments
想问下作者知道这是啥问题没。我也用vue,使用qiankun后就是主应用会报找不到子应用的路由的警告,但是可以正常跳转。 |
router.beforeEach的问题解决了。原因是,主应用和子应用同时使用了view-router组件。为了同时使用router,主应用的view-router要用v-if进行判断。 |
我升级vue3之后也遇到了 我两个子应用和主应用都是 [email protected],但是没有出现你说的 history.replaceState的问题,页面返回是正常的。 |
我也是主应用和子应用都vue3,路由有问题,我页面展示,跳转,代码控制全都正常,但是浏览器的前进后退键全都无效 |
主应用+子应用都使用vue3并使用vue-router-next。点击子应用页面内的,会触发三次子应用的router.beforeEach钩子,且不会触发主应用router的router.beforeEach钩子。
The text was updated successfully, but these errors were encountered: