vue-demi
point is to create package that comptaible with Vue 2.6 (+ @vue/composition-api), Vue 2.7 and Vue 3
Suppose I want to create a wrapper component from a vanilla JavaScript package and Ofc I'm using vue-demi
Package Aliasing for changing Vue entry
Assume that package uses CustomEvents
src/lib.ts
sample lib that use CustomEvents
src/component-2.6.ts
src/component-2.7.ts
src/component-3.2.ts