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
vue2/3 keep-alive + transformerVariantGroup hmr error #3518
Comments
Probably I have similiar issue with SolidJS + UnoCSS as well. Enabling UPD: @webaddkevin setting |
Well, it doesn't fix issue, but whole page refresh is not so annoying |
Thanks, setting 'mode: "per-module" is useful, problem solved |
unocss.mp4 |
Can you provide a reproducible demo? |
I'd be happy to, but I have large project. I'll try |
More clear description of my problem: I have SolidJS project with vite-plugin-solid, HMR enabled. I have self-made "keep-alive" components. They probably very different from OP's Vue components. I'm not sure I can provide repdoducible demo, because I have pretty large project which is closed-source for now. But, if any maintainer is interested to help and fix this, I can send project in PM. Also, I tried to use #3741 branch, but it didn't fix the issue for me UPD: maybe it's more related to vite/vite-plugin-solid. |
@MrFoxPro If possible, I hope you can streamline the project and send it to me, and I can help debug it. |
Ok,seems like the main problem is resolved with using unocsshmr.mp4https://github.com/MrFoxPro/unocss-hmr-bug But since |
UnoCSS version
0.58.3
Describe the bug
In a Vue + Unocss project, using the keep-alive component, the code hot update during inactive pages will cause the components containing the "unocss transformerVariantGroup" code to reload as well
Reproduction
a3m9y-bcebh.mp4
System Info
demo:https://github.com/webaddkevin/uno-test
Validations
The text was updated successfully, but these errors were encountered: