logaretm/vee-validate ? reverse-engineered prompt
Reverse engineered prompt
Build me a Vue form validation library that makes forms feel simple and painless.
I want a small, flexible package that works with Vue 3 and supports both the Composition API style and a component based style. It should let me define fields, validate them with simple rules, show errors, and handle form submission cleanly. It should work with normal HTML inputs as well as custom UI components, and support both sync and async validation.
Please include the basics people expect, like a form hook, field binding helpers, a form component, error handling, touched state, and the ability to use custom validation schemas or simple validator functions. If it helps, look up the current docs online first so the API feels modern and familiar.
Make the experience developer friendly, with good TypeScript support and clear examples I can use right away.
Are you gonna build this?
make sure you review the code using coderabbit