-
Notifications
You must be signed in to change notification settings - Fork 36
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
Breaking HMR in Nuxt 3 #42
Comments
nuxt/nuxt#21273 related |
replicated: duplicated: EnvironmentRootDir: /Users/k/vc/qrcode-hmr 10:47:49 PM
Reproductionhttps://github.com/acidjazz/qrcode-hmr Describe the bugwith the plugin running HMR breaks Additional contextI'm not sure if this is a bug in nuxt3 or qrcode-vue3 but thought i'd start here! Logsno issues, no errors, just broken HMR |
Just experienced this as well. Sadly the whole project has no HMR once this is added as a component anywhere (even if not visible at that time). |
Update, I copied the entire src/ directory to my repo, and it works like magic, you only need to additionally install |
Looks like this is not just a Nuxt issue. Even with just Vite app, it destroys the HMR. For some reason I uninstalled this component and tried a fork of this component "npm i qr-code-generator-vue3" and it did the trick. I did not even have to add the /src directory to my repo anymore. |
Hey, really nice plugin but when I installed it on Nuxt 3 it breaks hot module reload.
Does anyone have any advice / managed to fix it?
The text was updated successfully, but these errors were encountered: