mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			613 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			613 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";
 | |
| import "boxicons/css/boxicons.min.css";
 | |
| import "autocomplete.js/index_jquery.js";
 | |
| 
 | |
| 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();
 | 
