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
父应用进入微应用,微应用的路由一直作用在夫应用上,先匹配微应用的路由,在匹配父应用的路由 父应用: umi3 + @umijs/plugin-qiankun 父应用config配置: 父应用路由配置:
微应用:vite+dva+react,使用 vite-plugin-legacy-qiankun 微应用入口文件:
报错:进入过微应用,微应用路由就会存在,跳转父应用的路由时,会提示路由404(子路由未匹配到父应用的路由),每进入一次提示就会累加一次,例如进入五次微应用,在点击父应用的路由,会提示报错五次路由404
The text was updated successfully, but these errors were encountered:
看描述路由 404 是微应用报的,和 @umijs/plugin-qiankun 应该无关,请自行检查实现,比如 unmount 是否正常销毁应用实例、lifecycle 是否正常工作以及 vite-plugin-legacy-qiankun(非 UmiJS 团队维护)是否如预期工作,issue closed
@umijs/plugin-qiankun
vite-plugin-legacy-qiankun
如果排查下来确定和 @umijs/plugin-qiankun 有关,可以补充最小可复现仓库,再重新 reopen
Sorry, something went wrong.
看描述路由 404 是微应用报的,和 @umijs/plugin-qiankun 应该无关,请自行检查实现,比如 unmount 是否正常销毁应用实例、lifecycle 是否正常工作以及 vite-plugin-legacy-qiankun(非 UmiJS 团队维护)是否如预期工作,issue closed 如果排查下来确定和 @umijs/plugin-qiankun 有关,可以补充最小可复现仓库,再重新 reopen
@umijs/plugin-qiankun 可以手动关闭子应用实例吗
No branches or pull requests
父应用进入微应用,微应用的路由一直作用在夫应用上,先匹配微应用的路由,在匹配父应用的路由
父应用: umi3 + @umijs/plugin-qiankun
父应用config配置:
父应用路由配置:
微应用:vite+dva+react,使用 vite-plugin-legacy-qiankun
微应用入口文件:
报错:进入过微应用,微应用路由就会存在,跳转父应用的路由时,会提示路由404(子路由未匹配到父应用的路由),每进入一次提示就会累加一次,例如进入五次微应用,在点击父应用的路由,会提示报错五次路由404
The text was updated successfully, but these errors were encountered: