From 179196649ea1669bc879f354ab8445748faf8d22 Mon Sep 17 00:00:00 2001 From: Zach Florian Date: Mon, 9 Oct 2023 20:47:02 -0400 Subject: [PATCH] test --- class_registration_app/src/components/Home.vue | 2 +- class_registration_app/src/components/NotFound.vue | 7 +++++++ class_registration_app/src/router/index.ts | 6 +++--- class_registration_app/src/views/LoginView.vue | 9 +++++++++ 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 class_registration_app/src/components/NotFound.vue create mode 100644 class_registration_app/src/views/LoginView.vue diff --git a/class_registration_app/src/components/Home.vue b/class_registration_app/src/components/Home.vue index 1734ab4..3428a4a 100644 --- a/class_registration_app/src/components/Home.vue +++ b/class_registration_app/src/components/Home.vue @@ -16,7 +16,7 @@
- + Forget your login?
diff --git a/class_registration_app/src/components/NotFound.vue b/class_registration_app/src/components/NotFound.vue new file mode 100644 index 0000000..4eeb69c --- /dev/null +++ b/class_registration_app/src/components/NotFound.vue @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/class_registration_app/src/router/index.ts b/class_registration_app/src/router/index.ts index a49ae50..8176c38 100644 --- a/class_registration_app/src/router/index.ts +++ b/class_registration_app/src/router/index.ts @@ -10,12 +10,12 @@ const router = createRouter({ component: HomeView }, { - path: '/about', - name: 'about', + path: '/login', + name: 'login', // route level code-splitting // this generates a separate chunk (About.[hash].js) for this route // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') + component: () => import('../views/LoginView.vue') } ] }) diff --git a/class_registration_app/src/views/LoginView.vue b/class_registration_app/src/views/LoginView.vue new file mode 100644 index 0000000..2612d43 --- /dev/null +++ b/class_registration_app/src/views/LoginView.vue @@ -0,0 +1,9 @@ + + + \ No newline at end of file