[Vuejs]-TypeError: Cannot read property 'apply' of undefined on Vue-i18n

0๐Ÿ‘

โœ…

$t is only some variable that was attached to Vue.prototype. You can see it being assigned in source code of i18n. So after you do Vue.install(i18n), you can just override all these prototypes and create whatever names you want.

Leave a comment