Skip to content
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

子应用启动的是vue3-vite 导致白屏问题(主应用也是vite-vue3) #38

Open
HongDou666 opened this issue May 22, 2024 · 4 comments

Comments

@HongDou666
Copy link

image

@HongDou666
Copy link
Author

看起来子应用是挂在了的 只是里面为什么是空呢 这个是子应用的main.ts
There was a problem saving your comment. Please try again.

@Liuzln
Copy link

Liuzln commented Jun 17, 2024

我也遇到的相同的问题;
我根据官方文档的“手把手-Vite”,调整启动主项目的 view/vite.vue 页面;
将 的 disablesandbox 改为 iframe,即可运行;

@dengjunxx
Copy link

也不行啊,改为iframe,home页能正常加载出来,但是跳转page2页没效果

@gaowb-12
Copy link

gaowb-12 commented Dec 3, 2024

请问解决了吗,我也遇到了同样的问题,主子应用都是vue3+vite,动态加载的路由,加载子应用导致子应用router-view内容不渲染

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

No branches or pull requests

4 participants