Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

error occurs on /@react-refresh #73

Open
GrayFrost opened this issue Jan 12, 2024 · 5 comments
Open

error occurs on /@react-refresh #73

GrayFrost opened this issue Jan 12, 2024 · 5 comments

Comments

@GrayFrost
Copy link

react-app-error

有谁遇到过这个问题吗?

主应用:
"qiankun": "^2.10.16",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.1",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.8"

子应用:
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.1",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.8",
"vite-plugin-qiankun": "^1.0.15"

@Zhaoiii
Copy link

Zhaoiii commented Jan 15, 2024

一样, 解决了吗

@lynnx4869
Copy link

vite5之后应该是配置不一样了,我就直接配置了react()插件,就可用了

plugins: [
    ...(useDevMode ? [] : [react()]),
    qiankun('react-demo', { useDevMode }),
],

@GrayFrost
Copy link
Author

一样, 解决了吗

还没,我先无视它了,等有时间再看

@nabaonan
Copy link

同款问题,这个纠结了我还几天

@Cyxwmm
Copy link

Cyxwmm commented Jul 2, 2024

这个问题有解决方案么

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants