diff --git a/playground/components/nav/NavBar.vue b/playground/components/nav/NavBar.vue index 2367458..3a690f5 100644 --- a/playground/components/nav/NavBar.vue +++ b/playground/components/nav/NavBar.vue @@ -9,8 +9,8 @@ import ContentWidthContainer from "~/components/ContentWidthContainer.vue";
Home - Todo - Todo-Precognitive + Register + Register-Precognitive
diff --git a/playground/pages/todo-precog.vue b/playground/pages/register-precog.vue similarity index 53% rename from playground/pages/todo-precog.vue rename to playground/pages/register-precog.vue index bee478c..c79fd92 100644 --- a/playground/pages/todo-precog.vue +++ b/playground/pages/register-precog.vue @@ -5,8 +5,8 @@ const entries = ref([]); -const form = usePrecognitionForm("post", "/api/todo-precog", { - description: "", +const form = usePrecognitionForm("post", "/api/register-precog", { + email: "", age: null, }); @@ -24,29 +24,24 @@ const submitForm = async () => {
-
- -
-
- -
+ +
Submit diff --git a/playground/pages/todo.vue b/playground/pages/register.vue similarity index 56% rename from playground/pages/todo.vue rename to playground/pages/register.vue index cfe6d5a..377c9d1 100644 --- a/playground/pages/todo.vue +++ b/playground/pages/register.vue @@ -1,11 +1,12 @@