feat: initialize Vue component library and aligned documentation
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import { Button } from "@heroui-vue/components";
|
||||
const pressed = ref(false);
|
||||
</script>
|
||||
<template>
|
||||
<Button @click="pressed = true">{{ pressed ? "按钮已按下" : "点我" }}</Button>
|
||||
</template>
|
||||
Reference in New Issue
Block a user