Closed
Description
I upgrade @vue/composition-api
from 1.1.5
to 1.2.4
, and it emit error.
Error: [vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function
I checked it babel jsx plugin imported @vue/composition-api/dist/vue-composition-api.mjs
, but vue-demi
imported @vue/composition-api/dist/vue-composition-api.esm.js
.
So I think it should be changed to .mjs
as well.
Line 2 in 077cdb8
Metadata
Metadata
Assignees
Labels
No labels