1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: locale change

This commit is contained in:
2022-04-22 17:45:12 +02:00
parent e60789f320
commit 6af0c33461
6 changed files with 13 additions and 7 deletions

View File

@ -9,7 +9,9 @@ import App from '@/App.vue';
import { store } from '@/store';
import i18n from '@/i18n';
i18n.global.locale = store.state.settings.locale;
const app = createApp(App);
app.use(store);
app.use(i18n(store.state.settings.locale));
app.use(i18n);
app.mount('#app');