feat: initialize Vue component library and aligned documentation
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
Switch,
|
||||
SwitchContent,
|
||||
SwitchControl,
|
||||
SwitchThumb,
|
||||
SwitchGroup,
|
||||
} from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<SwitchGroup>
|
||||
<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>
|
||||
Reference in New Issue
Block a user