chore(monorepo/client): move client source files

This commit is contained in:
Elian Doran
2025-04-22 22:12:56 +03:00
parent 23572bd47c
commit 9afe2ef761
372 changed files with 1 additions and 4 deletions

16
apps/client/src/mobile.ts Normal file
View File

@@ -0,0 +1,16 @@
import appContext from "./components/app_context.js";
import noteAutocompleteService from "./services/note_autocomplete.js";
import glob from "./services/glob.js";
import "../stylesheets/bootstrap.scss";
glob.setupGlobs();
await appContext.earlyInit();
noteAutocompleteService.init();
// A dynamic import is required for layouts since they initialize components which require translations.
const MobileLayout = (await import("./layouts/mobile_layout.js")).default;
appContext.setLayout(new MobileLayout());
appContext.start();