Notes/src/public/app/mobile.js

13 lines
381 B
JavaScript
Raw Normal View History

2022-12-01 13:07:23 +01:00
import appContext from "./components/app_context.js";
2020-04-12 14:22:51 +02:00
import glob from "./services/glob.js";
2024-08-11 08:12:01 +03:00
glob.setupGlobs()
2020-03-01 11:04:42 +01:00
2024-08-11 08:12:01 +03:00
appContext.earlyInit();
2024-08-11 08:29:02 +03:00
// A dynamic import is required for layouts since they initialize components which require translations.
2024-08-11 08:12:01 +03:00
const MobileLayout = (await import("./layouts/mobile_layout.js")).default;
2024-08-11 08:29:02 +03:00
2020-03-01 11:04:42 +01:00
appContext.setLayout(new MobileLayout());
2022-12-01 13:07:23 +01:00
appContext.start();