mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			531 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			531 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
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();
 |