This is a playground for testing the Nuxt Precognition module.
+There are two different registration form examples which you can try out:
+
+ The first "Register" is a form which uses the useForm
composable. Form data is sent to the server
+ and validated upons submission.
+
+ The useForm composable is used to provide some very convenient lifecycle hooks for the form, as well as nice + validation and error handling. +
+ +The second "Register-Precog"is a form which uses the usePrecognitionForm
composable.
+ In addition to the features of the useForm
composable, the usePrecognitionForm composable also
+ provides a validate
method which can be used to validate the form data before the form is
+ submitted. This method is called on the @change hook of the inputs to validate as the user is entering data.
+