feat: initialize Vue component library and aligned documentation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { Input } from "@heroui-vue/components";
|
||||
import { ref } from "vue";
|
||||
const value = ref("heroui.com");
|
||||
</script>
|
||||
<template>
|
||||
<div class="flex w-80 flex-col gap-2">
|
||||
<Input v-model="value" aria-label="域名" placeholder="域名" />
|
||||
<span class="px-1 text-sm text-muted">
|
||||
https://{{ value || "你的域名" }}
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user