Files
evening_detective_frontend/src/main.ts
T
2026-09-13 13:51:23 +07:00

17 lines
320 B
TypeScript

import './assets/main.css'
import { createPinia } from 'pinia'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { useAuthStore } from './stores/auth'
const app = createApp(App)
app.use(createPinia())
useAuthStore().initFromStorage()
app.use(router)
app.mount('#app')