docs: improve form docs (#761)

Co-authored-by: Haytham A. Salama <haythamasalama@gmail.com>
This commit is contained in:
Sébastien Chopin
2023-10-06 09:25:22 -07:00
committed by GitHub
parent f4a3479e7c
commit 3b8e014449
7 changed files with 20 additions and 31 deletions

View File

@@ -1,8 +1,7 @@
<script setup lang="ts">
import { ref } from 'vue'
import type { FormError, FormSubmitEvent } from '@nuxt/ui/dist/runtime/types'
const state = ref({
const state = reactive({
email: undefined,
password: undefined
})