feat: initialize Vue component library and aligned documentation
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import { Button } from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<Button as-child v-slot="{ isPressed }">
|
||||
<button :data-custom="isPressed ? 'pressed' : 'bar'">点按</button>
|
||||
</Button>
|
||||
</template>
|
||||
Reference in New Issue
Block a user