12 lines
358 B
Vue
12 lines
358 B
Vue
<script setup lang="ts">
|
|
import { FieldError, Input, Label, TextField } from "@heroui-vue/components";
|
|
</script>
|
|
|
|
<template>
|
|
<TextField class="w-full max-w-64" is-invalid name="email" type="email">
|
|
<Label>邮箱</Label>
|
|
<Input placeholder="user@example.com" />
|
|
<FieldError>请输入有效的邮箱地址</FieldError>
|
|
</TextField>
|
|
</template>
|