You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
273 B

1 year ago
import { createI18n } from "vue-i18n";
import { useAppStore } from "../store/index.js";
function useLocale() {
const appStore = useAppStore();
const i18n = createI18n({
legacy: false,
...appStore.localization,
});
return i18n;
}
export default useLocale;