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:
@ -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');
|
||||
|
Reference in New Issue
Block a user