feat: initialize Vue component library and aligned documentation
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<script setup lang="ts">
|
||||
import { IconArrowUpRight } from "@tabler/icons-vue";
|
||||
import { IconCoin } from "@tabler/icons-vue";
|
||||
import {
|
||||
Card,
|
||||
CardHeader,
|
||||
CardTitle,
|
||||
CardDescription,
|
||||
CardFooter,
|
||||
} from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<Card class="w-[400px]">
|
||||
<IconCoin role="img" aria-label="美元图标" class="size-6" />
|
||||
<CardHeader>
|
||||
<CardTitle>成为 Acme 创作者!</CardTitle>
|
||||
<CardDescription>
|
||||
前往 Acme 创作者中心立即注册,开始从粉丝与支持者处获得积分奖励。
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardFooter>
|
||||
<a
|
||||
class="demo-link inline-flex items-center gap-1"
|
||||
aria-label="前往 Acme 创作者中心(在新标签页打开)"
|
||||
href="https://heroui.com"
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
创作者中心
|
||||
<IconArrowUpRight aria-hidden="true" class="size-3" />
|
||||
</a>
|
||||
</CardFooter>
|
||||
</Card>
|
||||
</template>
|
||||
Reference in New Issue
Block a user