mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 13:38:13 +00:00
18 lines
334 B
TypeScript
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);
|