Files
station-manager-2.0/src/main.ts
T
2024-10-23 15:23:33 +02:00

18 lines
334 B
TypeScript

import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import { createPinia } from 'pinia';
import { createRouteGuard } from './routeGuard';
const pinia = createPinia();
const app = createApp(App);
app.use(pinia);
app.use(router);
app.mount('#app');
// Route guard
createRouteGuard(router);