This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Cannot use vue-i18n-composable with vue-cli v4.5.19 #21
Comments
15 tasks
I have the same issue, but also i found that after "new VueI18n" code running at "vue-i18n.esm.js", but after "createI18n" it goes to "vue-i18n.common.js". Maybe it will help |
For me the problem was indeed, that I had my createI18n function in an extra file and that had been executed BEFORE |
I'm getting this with |
@Luminescenciya that pointed me in the right direction, I forced the vue-i18n file using webpacks alias's
|
Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to use your vue-i18n-composable with vue 2.7 and vue-i18n v8 in my vue project.
But I get the following error:
I configure vue-i18n like it is described in the README and yes, I do use
Vue.use(VueI18n);
To reproduce the issue I have created 2 projects from scratch.
If I build the project with vue-cli v5 everything works BUT with vue-cli v4 I get the mentioned error.
To reproduce the error I have created https://github.com/haugero/vue2.7-vue-i18n-composable
I think it should also work with vue-cli 4 or?
The text was updated successfully, but these errors were encountered: