-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
基于creat-react-app创建的主子应用,如果当前是子应用路由,修改主应用后报错:Iframe has not been created yet. #4173
Labels
Comments
尽量多提供点信息,比如配置方式 |
主应用:
子应用:
|
@chenfangsheng 主子应用 demo 可以提供下吗? |
就是通过creat-react-app创建的 |
@chenfangsheng 开启 Fast Refresh 的项目可能会遇到这个问题(#10385),可以暂时关闭 Fast Refresh 功能。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
前提:
1.主、子应用都是通过creat-react-app创建
场景重现:启动项目配置好主子应用后,可以正常打开,点击切换到子应用路由,修改主应用代码,热更新后,控制台报错:
Iframe has not been created yet.
子应用是这样注册的:
entry="//localhost:3000"
The text was updated successfully, but these errors were encountered: