-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Description
Describe the bug
In my project, using @vueuse/core version 12 will cause HMR to fail. Is this a compatibility issue? I downgraded @vueuse/core to version 11.3.0, and HMR worked fine. Thank you all maintainers for your answers
This is a reproducible demo: https://github.com/xbsheng/vueuse12-hmr-demo
Reproduction
https://github.com/xbsheng/vueuse12-hmr-demo
System Info
System:
OS: macOS 15.0.1
CPU: (8) arm64 Apple M1 Pro
Memory: 128.16 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
Yarn: 1.22.21 - ~/.nvm/versions/node/v18.18.2/bin/yarn
npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
Browsers:
Chrome: 138.0.7204.157
Edge: 138.0.3351.83
Firefox: 121.0.1
Safari: 18.0.1
npmPackages:
@vueuse/core: 12.8.2 => 12.8.2
vue: 3.2.36 => 3.2.36
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.