init shadcn-vue

This commit is contained in:
pa
2026-01-05 20:16:16 +09:00
committed by Natsumi
parent bb92f6a4b1
commit 356705fc31
66 changed files with 1567 additions and 53 deletions

View File

@@ -0,0 +1,20 @@
<script setup>
import { cn } from '@/lib/utils';
const props = defineProps({
class: { type: null, required: false }
});
</script>
<template>
<td
data-slot="table-cell"
:class="
cn(
'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
props.class
)
">
<slot />
</td>
</template>