mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 14:06:28 +00:00
feat(webui): totally convert to new webui
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
import { useAuth } from './app/auth'
|
||||
import { initTheme } from './app/theme'
|
||||
import './style.css'
|
||||
|
||||
initTheme()
|
||||
|
||||
const auth = useAuth()
|
||||
|
||||
if (auth.state.token && !auth.state.initialized) {
|
||||
void auth.refreshCurrentUser().catch(() => undefined)
|
||||
}
|
||||
|
||||
createApp(App).mount('#app')
|
||||
Reference in New Issue
Block a user