From f7ca78a8a6a0b4bca5ee28392c9cfda597d52ead Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 26 Jun 2023 16:35:07 +0200 Subject: [PATCH] filemanager: Only init vue app after we fetch language files to avoid UI shaking --- filemanager/src/main.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/filemanager/src/main.js b/filemanager/src/main.js index 415690119..ca44b405a 100644 --- a/filemanager/src/main.js +++ b/filemanager/src/main.js @@ -65,13 +65,13 @@ const i18n = createI18n({ 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');