Answer the question
In order to leave comments, you need to log in
How to fix Uncaught (in promise) TypeError: _ctx.$t is not a function in vue cli + i18n?
After creating the vue cli project: vuex+router+babel+unit+e2e and adding the vue add i18n command, the HelloI18n.vue file is created. If you copy its contents with a replacement into HelloWorld.vue and run npm run serve in google Chrome, an error will appear
Uncaught (in promise) TypeError: _ctx.$t is not a function
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question