diff --git a/src/router/auth.ts b/src/router/auth.ts index 49f793d..77f2195 100644 --- a/src/router/auth.ts +++ b/src/router/auth.ts @@ -1,13 +1,27 @@ import type { RouteRecordRaw } from "vue-router"; const routes: Array = [ + // { + // path: "/auth", + // component: () => import("@/views/auth/index.vue"), + // children: [ + // { + // path: "/auth/login", + // component: () => import("@/views/auth/login/index.vue"), + // }, + // { + // path: "/auth/signup", + // component: () => import("@/views/auth/signup/index.vue"), + // }, + // ], + // }, { path: "/auth/login", component: () => import("@/views/auth/login/index.vue"), }, { path: "/auth/signup", - component: () => import("@/auth/components/signup/index.vue"), + component: () => import("@/views/auth/signup/index.vue"), }, ]; diff --git a/src/views/auth/index.vue b/src/views/auth/index.vue new file mode 100644 index 0000000..6749c61 --- /dev/null +++ b/src/views/auth/index.vue @@ -0,0 +1,9 @@ + + + + + diff --git a/src/views/auth/login/components/email.vue b/src/views/auth/login/components/email.vue index 65d1255..ffca94b 100644 --- a/src/views/auth/login/components/email.vue +++ b/src/views/auth/login/components/email.vue @@ -111,7 +111,7 @@ onUnmounted(() => {