vue-demi
vue-demi copied to clipboard
🎩 Creates Universal Library for Vue 2 & 3
### Reproduction https://github.com/bgoscinski/repro-vue-compat-reactivity ### Steps to reproduce the bug 1. Run `npm install` 1. Run `npm test`. Test fails 1. Remove `'vue': '@vue/compat'` alias from `./vite.config.js` 1. Run `npm test`...
Using the `hoisted` linker with `pnpm` results in a failure to run the `postinstall` script for this package on Windows. This is a _very common_ configuration for working in monorepos...
https://github.com/vueuse/vue-demi/issues/192 这个议题里显示的已经解决找不到util问题了,但我这还是报类似的错误   我看.mjs中是没有default的判断的,而cjs中是加了判断的,但是我这代码编译后是使用的mjs文件代码,导致没有找default而找不到use函数 下面是编译后的我自己的代码 
https://github.com/vueuse/vue-demi/blob/80b8e939134c4d8e9457bd97235a46712ea0988a/lib/v2.7/index.cjs#L58C69-L58C69 
fix https://github.com/vueuse/vueuse/issues/2232 Please adjust if importing from `v3-generated` is a bad practice, but the ticket has been opened for too long, and stale-bot is a bit too fast.
I have the `vueGridItems` like this... ```ts import { computed } from 'vue-demi' ... const vueGridItems = computed(() => {return [{i:1}, {i:2}] }) ``` and template ```vue ``` `item.i` can...
I have developed my library using Vue 2.7 and vue-demi with Vite. I am able to consume the library in Vue 2.7 and everything is working fine but not in...
Hi! https://pnpm.io/how-peers-are-resolved Because of vue-demi may have varios peer deps, pnpm can(and do after v8) create duplicated vue-demi packages with own node_modules dir for each monorepo package with different default...
Hello, I'm trying to create a Vite Library with Vue-Demi to work in Nuxt 2 and Nuxt 3. I guess I'm missing something. I've seen a lot of examples but...