Open stephane303 opened 3 years ago
I think there is something wrong in the way you export the module to npm.
I had the following error:
[vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function.
Even though I followed your instructions, and Vue.use(VueCompositionAPI)was called. I think a new Vue instance was created.
Vue.use(VueCompositionAPI)
The only way I could make the module work is to copy locally the file.
It might be related to https://github.com/intlify/vue-i18n-composable/issues/9
My setup:
@vue/composition-api@1.0.0-rc.12 vue-i18n@8.24.4
I think there is something wrong in the way you export the module to npm.
I had the following error:
[vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function.
Even though I followed your instructions, and
Vue.use(VueCompositionAPI)
was called. I think a new Vue instance was created.The only way I could make the module work is to copy locally the file.
It might be related to https://github.com/intlify/vue-i18n-composable/issues/9
My setup:
@vue/composition-api@1.0.0-rc.12 vue-i18n@8.24.4