diff --git a/packages/vue-inertia/src/form.ts b/packages/vue-inertia/src/form.ts new file mode 100644 index 0000000..1925a22 --- /dev/null +++ b/packages/vue-inertia/src/form.ts @@ -0,0 +1,104 @@ +import { defineComponent, h, PropType, ref } from 'vue' +import { Form as InertiaForm } from '@inertiajs/vue3' +import type { FormComponentProps, FormComponentSlotProps, FormDataConvertible } from '@inertiajs/core' +import { formDataToObject, Method } from '@inertiajs/core' +import type { ValidationConfig } from 'laravel-precognition' +import { createValidator, toSimpleValidationErrors } from 'laravel-precognition' + +// Thin wrapper over Inertia's