vueuse / vue-demi

🎩 Creates Universal Library for Vue 2 & 3
MIT License
3.01k stars 158 forks source link

"isVue2 isVue3" there are differences in different environments #218

Closed DDYMZL closed 1 year ago

DDYMZL commented 1 year ago

When I debug the plug-in locally(use: npm link)

import { isVue2, isVue3 } from "vue-demi";

console.log(isVue2, isVue3) // false true

When I publish

import { isVue2, isVue3 } from "vue-demi";

console.log(isVue2, isVue3) // true false

they are all in vue2 project

antfu commented 1 year ago

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.

Why reproduction is required