feat(web): router with auth guard, AppShell, login + home views

This commit is contained in:
2026-04-29 10:02:45 +08:00
parent 3eb595cf5e
commit 9d93bcd24b
8 changed files with 181 additions and 4 deletions
+3
View File
@@ -2,10 +2,13 @@ import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router, { bindAuthToApi } from './router'
import './styles/tailwind.css'
import './styles/tokens.css'
const app = createApp(App)
app.use(createPinia())
app.use(router)
bindAuthToApi()
app.mount('#app')