0.0.12 • Published 2 years ago

vue-module-demi v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vue-module-demi npm version

Module '"vue"' has no exported member 'Fragment'

When I was developing a library compatible with Vue2 & 3, I often encountered work that could not continue because the two packages did not export similar modules.

For example, I wanted to assert whether the current VNode type is Fragment. I Can't import Fragment from Vue for comparison because ESM doesn't allow destructuring imports that don't exist, and if I use import * as Vue from 'vue' and Vue.Fragment, it won't be tree-shaking friendly.

Overall, this library smooths out the inconsistency of Vue2 & 3 modules export. If a module doesn't exist, it will be exported as undefined in Vue2.

0.0.11

2 years ago

0.0.12

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago