Closed lsdsjy closed 2 years ago
it is helpful to me too
Am I right in thinking this is not compatible with Vue 2.7 because it does not include createApp
?
You can use vue-demi
as it polyfills createApp
for Vue 2.7. See https://github.com/vueuse/vue-demi/commit/5637e7bd0df13690a29d4c2148244fac516a3450
https://vuejs.org/guide/components/provide-inject.html#app-level-provide
Inspired by @skyline0705