重构项目,方便开发

This commit is contained in:
super
2026-03-19 13:15:47 +08:00
parent fb2e5ccea5
commit 1e63ab291b
38 changed files with 5940 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<template>
<div class="page-shell" :class="themeClass">
<slot />
</div>
</template>
<script setup lang="ts">
import { computed } from 'vue'
const props = withDefaults(
defineProps<{
theme?: 'light' | 'dark'
}>(),
{
theme: 'light',
},
)
const themeClass = computed(() => `theme-${props.theme}`)
</script>