title | description | order | new |
---|---|---|---|
State Stores |
using vee-validate with state stores |
8 |
true |
If you want to integrate vee-validate with state management solutions you can do that with the composition API.
Pinia is a data store for Vue.js and it is the recommended solution to your Vue.js state management.
The example integrates a form state into the store by syncing it using watch
. It also integrates the registerUser
action to be used as a submit handler for the form.