refactor(ui): break down config.html into smaller pieces (#2491)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
Vithorio Polten
2024-05-13 14:08:13 -03:00
committed by GitHub
parent 81c2ecfc07
commit 4b6ff3797e
30 changed files with 1636 additions and 1081 deletions

View File

@@ -0,0 +1,13 @@
import i18n from './locale'
export function initApp(app, config) {
//Wait for locale initialization, then render
i18n().then(i18n => {
app.use(i18n);
app.provide('i18n', i18n.global)
app.mount('#app');
if (config) {
config(app)
}
});
}