Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

To make it work I had to copy locally the file vue-i18n-composable/src/index.ts #10

Open
stephane303 opened this issue Jun 29, 2021 · 0 comments

Comments

@stephane303
Copy link

stephane303 commented Jun 29, 2021

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 #9

My setup:

@vue/[email protected]
[email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant