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
+14
View File
@@ -0,0 +1,14 @@
<template>
<AppShell>
<div class="space-y-4">
<h2 class="text-xl font-semibold">欢迎{{ auth.user?.display_name }}</h2>
<p>这是占位 dashboard后续 plan 会接入项目/工作区/Issue</p>
</div>
</AppShell>
</template>
<script setup lang="ts">
import AppShell from '@/layouts/AppShell.vue'
import { useAuthStore } from '@/stores/auth'
const auth = useAuthStore()
</script>