mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
chore(monorepo/client): move client source files
This commit is contained in:
16
apps/client/src/mobile.ts
Normal file
16
apps/client/src/mobile.ts
Normal 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();
|
||||
Reference in New Issue
Block a user