feat: initialize Vue component library and aligned documentation
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
import { IconPlus } from "@tabler/icons-vue";
|
||||
import { Button } from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<div class="full-width-demo">
|
||||
<Button full-width>主要按钮</Button>
|
||||
<Button full-width>
|
||||
<IconPlus aria-hidden="true" />
|
||||
带图标
|
||||
</Button>
|
||||
</div>
|
||||
</template>
|
||||
<style scoped>
|
||||
.full-width-demo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
width: 400px;
|
||||
max-width: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user