File size: 633 Bytes
466436b
 
 
 
 
 
 
 
 
 
 
 
 
 
502af73
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import { initializeParsers } from "@inc/trigo/parserInit";

const app = createApp(App);
const pinia = createPinia();

app.use(pinia);
app.use(router);

// Initialize parsers before mounting (required for TGN functionality)
initializeParsers()
	.then(() => {
		app.mount("#app");
	})
	.catch((error) => {
		console.error("Failed to initialize parsers:", error);
		// Still mount app even if parser initialization fails
		// (parser will throw error when TGN features are used)
		app.mount("#app");
	});