0👍
To be able to get i18n translation from anywhere in your application (vue3 in my case) :
import i18n from "@/i18n";
i18n.global.t("your_key")
- [Vuejs]-Getting a CORS error when trying to communicate between vuejs frontend and .NET 6 backend locally
- [Vuejs]-Autohide an element in Vue.js after 2 seconds
Source:stackexchange.com