前端页面初始化更新,使用vue进行开发

This commit is contained in:
2026-01-27 12:21:20 +08:00
parent cfd7c605af
commit 911e58c29b
125 changed files with 5877 additions and 404 deletions

View File

@@ -0,0 +1,18 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { AvatarRoot } from "reka-ui"
import { cn } from "@/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]
}>()
</script>
<template>
<AvatarRoot
data-slot="avatar"
:class="cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', props.class)"
>
<slot />
</AvatarRoot>
</template>