Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.
This repository was 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

@stephane303

Description

@stephane303

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions