-
Notifications
You must be signed in to change notification settings - Fork 10
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
子应用React18+vite 搭建报错 #15
Comments
请问,是否设置了:fastRefresh: false |
你好,问题解决了,方法如下: |
你可以参考我这个评论,#13 (comment) 暂时将 react 插件恢复到 3.x,然后设置 fastRefresh: false |
好的,非常感谢 |
请问有解决你的问题吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好,我的应用构建是这样的:
主应用基座是 React18+vite (正常)
子应用Vu3+vite (正常)
子应用React18+vite (报错) ,报错显示:
app-errors.js:11 Uncaught Error: application 'react-app' died in status BOOTSTRAPPING: React refresh runtime was loaded twice. Maybe you forgot the base path? at @react-refresh:665:11
如果React子应用 中使用了 函数式 组件就会报上述错误
The text was updated successfully, but these errors were encountered: