VueUse has no effect in Repl.
xstxhjh opened this issue · comments
Jia commented
Describe the bug
Everything looks normal, but the data hasn't changed.
Reproduction
System Info
https://cdn.jsdelivr.net/npm/@vueuse/core@10.9.0/+esm
Used Package Manager
npm
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.
huiliangShen commented
use the correct import map
Jia commented
{
"imports": {
"vue": "https://cdn.jsdelivr.net/npm/@vue/runtime-dom@3.4.21/dist/runtime-dom.esm-browser.js",
"vue/server-renderer": "https://cdn.jsdelivr.net/npm/@vue/server-renderer@3.4.21/dist/server-renderer.esm-browser.js",
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi@0.14.7/lib/index.mjs",
"@vueuse/shared": "https://cdn.jsdelivr.net/npm/@vueuse/shared@10.9.0/index.mjs",
"@vueuse/core": "https://cdn.jsdelivr.net/npm/@vueuse/core@10.9.0/index.mjs"
},
"scopes": {}
}
Please use the mjs CDN. I'm using ESM generated by jsdelivr, which causes Jsdelivr to bundle another copy of Vue.
Thanks.