feat: initialize Vue component library and aligned documentation
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
IconBrandGoogle,
|
||||
IconBrandGithubFilled,
|
||||
IconBrandAppleFilled,
|
||||
} from "@tabler/icons-vue";
|
||||
import { Button } from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<div class="social-demo">
|
||||
<Button full-width variant="tertiary">
|
||||
<IconBrandGoogle aria-hidden="true" />
|
||||
使用 Google 登录
|
||||
</Button>
|
||||
<Button full-width variant="tertiary">
|
||||
<IconBrandGithubFilled aria-hidden="true" />
|
||||
使用 GitHub 登录
|
||||
</Button>
|
||||
<Button full-width variant="tertiary">
|
||||
<IconBrandAppleFilled aria-hidden="true" />
|
||||
使用 Apple 登录
|
||||
</Button>
|
||||
</div>
|
||||
</template>
|
||||
<style scoped>
|
||||
.social-demo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
width: 320px;
|
||||
max-width: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user