Closed GeekyMonkey closed 3 years ago
Can you share a minimal reproduction? Thanks.
I get the exact same error running : @vue/composition-api": "1.2.1 vue": "^2.6.10"
reproduction: updated from 1.0.5 to 1.2.1 no compilation error app throws [vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function.
I'm also affected by this
got same error
Can't really help without reproduction
@antfu maybe @vueuse/core
cause this error
Same issue but with different message v1.1.5 works fine
a bit more info: we have application (vue2 + @vue/compositon-api) and 2 libs with different build process first use vue2 + vue-demi and it works second use vue2 + @vue/compositon-api which externalised by webpack5 'externals' and it doesn't work
for now issue fixed by downgrading @vue/compositon-api on app side to 1.1.5
Back in business! Thanks!
Yes, everything working again :slightly_smiling_face: thx
Version 1.1.5 is fine. But updating to either 1.2.0 or 1.2.1 results in the errors below at startup despite having this loaded in Main.ts. The console log message is displayed before the errors are displayed.
Startup errors: