-
Notifications
You must be signed in to change notification settings - Fork 207
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
微前端如何支持ice主应用? #679
Comments
如果我延迟注入normalAgent就会有效果,说明history的拦截时间可能冲突了 |
延迟注入,第一次切换到子应用可以,但是第二次就会提示
|
如果把cache设置为true就不会提示了 现在就是注入的时机不知道该是什么时候 |
好像热更新也不行 如果设置output的一些属性,热更新就完全失效
独立运行时正常,说明可能和主应用冲突了或者判断有问题? 反正开发环境千万不要externals react, 否则热更新100%不可用 |
还有样式加载问题 每次热更新
原因可能是
子应用独立运行,也很奇怪,热更新
|
Clear and concise description of the problem
我的主应用是v2.ice.work,子应用是modern.js
然后现在微前端的路由跳转有问题,只有刷新页面才可以匹配,其他情况下路由跳转都无效,
我觉得应该是ice自己也拦截除了history导致无效
Suggested solution
支持ice
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: