-
Notifications
You must be signed in to change notification settings - Fork 24
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
Using this as a plugin in Nuxt 3 breaks HMR #15
Comments
Using with Vite, breaks too |
Any solution so far? |
Also for me, same issue using Vite Vue3. I have also created a new npm package @clabnet/vue-simple-acl @pnwnelson @zenojunior @Nymrinae Have you notice ? The author @victorybiz seems do not respond a long time ago. |
Yeah, the fact that it breaks HMR is a huge issue for me, I consider swapping to CASL instead but didn't try yet if it doesn't break it as well, I hope not. |
I have fixed my new npm package @clabnet/vue-simple-acl with HMR running fine. I had to completely override the build mode, it was tough but it seems to work. Try it if you can and give me your feedback, please. |
Works fine for me, thanks a lot!! |
Thanks @clabnet for your package, I also switched to your library now due to missing HMR. |
Same issure here. However, in using @clabnet version, I get an error saying Module not found: Error: Can't resolve './utils' in '/node_modules/@clabnet/vue-simple-acl/dist' because origin is strict. |
Would love to use it in a Nuxt 3 application but can't when the HMR is broken and really slows me down.
There are no errors, but seeing my DOM changes requires a page reload.
The text was updated successfully, but these errors were encountered: