filemanager: Only init vue app after we fetch language files to avoid UI shaking
This commit is contained in:
@@ -65,13 +65,13 @@ const i18n = createI18n({
|
|||||||
i18n.global.locale.value = locale;
|
i18n.global.locale.value = locale;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const app = createApp(App);
|
||||||
|
|
||||||
|
app.use(i18n);
|
||||||
|
app.use(router);
|
||||||
|
app.use(PrimeVue, { ripple: true });
|
||||||
|
app.use(ConfirmationService);
|
||||||
|
|
||||||
|
app.mount('#app');
|
||||||
})();
|
})();
|
||||||
|
|
||||||
const app = createApp(App);
|
|
||||||
|
|
||||||
app.use(i18n);
|
|
||||||
app.use(router);
|
|
||||||
app.use(PrimeVue, { ripple: true });
|
|
||||||
app.use(ConfirmationService);
|
|
||||||
|
|
||||||
app.mount('#app');
|
|
||||||
|
|||||||
Reference in New Issue
Block a user