13 lines
374 B
Vue
13 lines
374 B
Vue
<script setup lang="ts">
|
||
import { Typography } from "@heroui-vue/components";
|
||
</script>
|
||
|
||
<template>
|
||
<div class="flex max-w-xl flex-col gap-4">
|
||
<Typography type="h1" as="h2">H1 视觉样式,h2 语义元素</Typography>
|
||
<Typography as="span">
|
||
as 属性可更换底层元素,同时保留 HeroUI 的 props 与样式。
|
||
</Typography>
|
||
</div>
|
||
</template>
|