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
vite4子应用切换 样式丢失 #434
Comments
试了下样式丢失和vite的版本有关,vite2.7正常,vite4丢失 |
路由警告改成vue2做主应用就不报了 |
字体问题和vite版本有关,vite2.9正常 |
遇到了同样的问题 vite4下 vant的字体图标不显示,单独打开子应用的项目没问题,放到wujie框架下vant的字体图标不显示。 |
基于 vite2.9 + vue-cli5 + wujie1.0.14 的演示项目: |
试了下,确实可以,不过vite4+vue3+element-plus设置为保活,也需要加上这个配置,不然组件的样式会丢失 |
这个插件在哪使用 |
Vite4搭建的子应用,在切换路由2次后,页面就无法正常加载,有遇到类似的问题吗?另一个子应用是使用webpack + vue2搭建的子应用,就是正常的 |
把@yiludege发的插件放进去就行了 |
描述bug
如何复现
错误截图
最小复现仓库或者地址
复现仓库
The text was updated successfully, but these errors were encountered: