doc: added missing import in auto-form example
I've added a missing import of `auto-form` to the first complete example as without the code, it would not run right away.
This commit is contained in:
parent
6c0ab55e92
commit
637a56e62d
|
|
@ -403,6 +403,7 @@ By passing the `form` as props, you can control and use the method provided by `
|
||||||
|
|
||||||
```vue
|
```vue
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
import { AutoForm } from '@/components/ui/auto-form'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import { useForm } from 'vee-validate'
|
import { useForm } from 'vee-validate'
|
||||||
import * as z from 'zod'
|
import * as z from 'zod'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user