28 lines
451 B
TypeScript
28 lines
451 B
TypeScript
/**
|
|
* main.ts
|
|
*
|
|
* Bootstraps Vuetify and other plugins then mounts the App`
|
|
*/
|
|
|
|
// Composables
|
|
import {createApp} from 'vue'
|
|
|
|
// Plugins
|
|
import {registerPlugins} from '@/plugins'
|
|
|
|
// Components
|
|
import App from './App.vue'
|
|
|
|
// Styles
|
|
import 'unfonts.css'
|
|
import {useSessionStore} from "@/stores/session.ts";
|
|
|
|
const app = createApp(App)
|
|
|
|
registerPlugins(app)
|
|
|
|
const sessionStore = useSessionStore()
|
|
await sessionStore.bootstrap()
|
|
|
|
app.mount('#app')
|