feat: UIComponentsComponents
All checks were successful
/ depcheck (push) Successful in 2m49s
/ lint-build-and-check (push) Successful in 2m38s
/ build-and-deploy-to-vercel (push) Successful in 3m22s
/ surge (push) Successful in 3m7s
/ playwright (push) Successful in 5m9s

This commit is contained in:
mini2024
2025-03-24 00:22:24 +08:00
parent e42241ddc5
commit 22d3eedea0
9 changed files with 57 additions and 4 deletions

View File

@ -0,0 +1,35 @@
<script setup lang="ts">
import { Button as ShadcnButton } from '@/shadcn/components/ui/button';
</script>
<template>
<div class="flex flex-col items-center justify-center space-y-4 bg-white p-4">
<div class="flex flex-wrap gap-4" b="1px solid red" p="4">
<a-button type="primary">Primary Button</a-button>
<a-button>Default Button</a-button>
<a-button type="dashed">Dashed Button</a-button>
<a-button type="text">Text Button</a-button>
<a-button type="link">Link Button</a-button>
</div>
<div class="flex space-x-4" b="1px solid red" p="4">
<Button label="PrimevueButton" />
<Button variant="outlined" label="Outlined" />
<Button variant="text" label="Text" />
<Button variant="link" label="Link" />
</div>
<div class="flex space-x-4" b="1px solid red" p="4">
<ShadcnButton>ShadcnButton</ShadcnButton>
<ShadcnButton variant="secondary">Secondary</ShadcnButton>
<ShadcnButton variant="destructive">Destructive</ShadcnButton>
<ShadcnButton variant="outline">Outline</ShadcnButton>
<ShadcnButton variant="ghost">Ghost</ShadcnButton>
<ShadcnButton variant="link">Link</ShadcnButton>
</div>
<div class="flex space-x-4" b="1px solid red" p="4">
<a-input placeholder="Basic usage" />
</div>
</div>
</template>
<style scoped></style>