()
| 14 | } |
| 15 | |
| 16 | async function initApp() { |
| 17 | try { |
| 18 | const { state, updatePanelStatus } = useAppStateStore(); |
| 19 | setLoadingTitle("Initializing Application..."); |
| 20 | await updatePanelStatus(); |
| 21 | setLoadingTitle("Initializing Language..."); |
| 22 | await initI18n(state.language); |
| 23 | setLoadingTitle("Initializing Layout..."); |
| 24 | await initLayoutConfig(); |
| 25 | setLoadingTitle("Downloading JavaScript Files..."); |
| 26 | const module = await import("./mount"); |
| 27 | setLoadingTitle("Rendering Application..."); |
| 28 | await module.mountApp(); |
| 29 | } catch (error: any) { |
| 30 | handleLoadingError(error); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | initApp(); |
no test coverage detected