Move toju-app into own its folder

This commit is contained in:
2026-03-29 23:30:37 +02:00
parent 0467a7b612
commit 8162e0444a
287 changed files with 42 additions and 34 deletions

21
toju-app/src/main.ts Normal file
View File

@@ -0,0 +1,21 @@
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { App } from './app/app';
import mermaid from 'mermaid';
declare global {
interface Window {
mermaid: typeof mermaid;
}
}
// Expose mermaid globally for ngx-remark's MermaidComponent
window.mermaid = mermaid;
mermaid.initialize({
startOnLoad: false,
securityLevel: 'loose',
theme: 'dark'
});
bootstrapApplication(App, appConfig)
.catch((err) => console.error(err));