We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"qiankun": "^2.7.2", node: 14.16.1 主应用和子应用均采用vue3
背景:主应用已经接入过其他子应用跳转均正常,新增子应用接入后导致页面跳转url混乱,子应用的接入均采用手动加载的方法进行注册
子应用相关伪代码如下: main.js router.js vue-config.js 主应用注册:
现在的问题是 : 从菜单栏首次访问子应用时(路径:http://localhost:3000/company/media/gsetting)可以正常展示,离开当前子应用跳转到其他应用时路径就错乱了,正确的路径是http://localhost:3000/manage/com/hello, 但是跳转的路径却是http://localhost:3000/company/manage/com/hello, 导致页面加载失败。查看了相关官网资料,也没有搜索到,希望大神们可以帮忙指点一下
The text was updated successfully, but these errors were encountered:
更正一下,主应用是react、子应用是vue3
Sorry, something went wrong.
应该是一个问题吧,我是自己实现了个useRouter来跳页面,,vue-router的仓库也有相关的issues #1865 (comment)
应该还是vue-router版本的问题,目前就是把vue-router的版本降下来了
No branches or pull requests
"qiankun": "^2.7.2",
node: 14.16.1
主应用和子应用均采用vue3
背景:主应用已经接入过其他子应用跳转均正常,新增子应用接入后导致页面跳转url混乱,子应用的接入均采用手动加载的方法进行注册
子应用相关伪代码如下:
main.js
router.js
vue-config.js
主应用注册:
现在的问题是 :
从菜单栏首次访问子应用时(路径:http://localhost:3000/company/media/gsetting)可以正常展示,离开当前子应用跳转到其他应用时路径就错乱了,正确的路径是http://localhost:3000/manage/com/hello, 但是跳转的路径却是http://localhost:3000/company/manage/com/hello, 导致页面加载失败。查看了相关官网资料,也没有搜索到,希望大神们可以帮忙指点一下
The text was updated successfully, but these errors were encountered: