- App Shell 壳层:主导航、次导航、Title Bar、状态栏 - Vault 入口页:最近 Vault、打开/创建 Vault、AI Core 状态 - Workspace 与文件树:浏览、打开、创建笔记/文件夹 - Design Token:浅色/深色主题 CSS Variables - Contracts / Service / Store / Router 基础架构 - 统一 ApiClient 与 SseClient,对接后端 API 契约
19 lines
384 B
Vue
19 lines
384 B
Vue
<script setup lang="ts">
|
|
import { computed } from 'vue'
|
|
import { useRoute } from 'vue-router'
|
|
import AppShell from '@/components/common/AppShell.vue'
|
|
|
|
const route = useRoute()
|
|
const isVaultEntry = computed(() => route.path === '/')
|
|
</script>
|
|
|
|
<template>
|
|
<AppShell v-if="!isVaultEntry">
|
|
<router-view />
|
|
</AppShell>
|
|
<router-view v-else />
|
|
</template>
|
|
|
|
<style scoped>
|
|
</style>
|