web-forms-vee-validate
Installation
SKILL.md
VeeValidate Form Validation Patterns
Quick Guide:
useFormowns the form state;defineFieldreturns a[model, attrs]tuple tov-modelonto a native input, anduseFieldbinds a field inside a reusable input component — with its name passed as a getter so it stays reactive. A schema reachesvalidationSchemathroughtoTypedSchema(), which is also what supplies the types.useFieldArraydrives repeatable groups and iterates onfield.key. Everything here is v4; v5 removes the adapter, so check reference.md before targeting it.
Detailed Resources:
- examples/core.md —
defineField, inline rules, a reusable input built onuseField, form meta, eager validation - examples/validation.md — schema through
toTypedSchema, conditional schemas, all errors per field - examples/arrays.md —
useFieldArray, nested arrays, reordering - reference.md — return-value tables, composition helpers, worked anti-patterns, v5 migration