feat: initialize Vue component library and aligned documentation

This commit is contained in:
maoyingjie
2026-10-21 09:06:28 +08:00
commit 9d40dc0ecb
149 changed files with 13208 additions and 0 deletions
@@ -0,0 +1,37 @@
<script setup lang="ts">
import {
Switch,
SwitchContent,
SwitchControl,
SwitchThumb,
SwitchGroup,
} from "@heroui-vue/components";
</script>
<template>
<SwitchGroup class="overflow-x-auto" orientation="horizontal">
<Switch name="notifications">
<SwitchContent>
<SwitchControl>
<SwitchThumb />
</SwitchControl>
通知
</SwitchContent>
</Switch>
<Switch name="marketing">
<SwitchContent>
<SwitchControl>
<SwitchThumb />
</SwitchControl>
营销
</SwitchContent>
</Switch>
<Switch name="social">
<SwitchContent>
<SwitchControl>
<SwitchThumb />
</SwitchControl>
社交
</SwitchContent>
</Switch>
</SwitchGroup>
</template>