Files
go_process_manager/resources/src/router/auth.routes.ts
akrike 37748ecb7f init
2025-08-13 22:48:03 +08:00

73 lines
1.5 KiB
TypeScript

export default [
{
path: "/login",
name: "login-page",
component: () => import("@/views/login/Login.vue"),
meta: {
layout: "auth",
title: "SignIn",
},
},
{
path: "/auth/signin",
name: "auth-signin",
component: () =>
import(
/* webpackChunkName: "auth-signin" */ "@/views/auth/SigninPage.vue"
),
meta: {
layout: "auth",
title: "SignIn",
},
},
{
path: "/auth/signup",
name: "auth-signup",
component: () =>
import(
/* webpackChunkName: "auth-signup" */ "@/views/auth/SignupPage.vue"
),
meta: {
layout: "auth",
title: "SignUp",
},
},
{
path: "/auth/verify-email",
name: "verify-email",
component: () =>
import(
/* webpackChunkName: "verify-email" */ "@/views/auth/VerifyEmailPage.vue"
),
meta: {
requiresAuth: true,
layout: "auth",
title: "VerifyEmail",
},
},
{
path: "/auth/forgot-password",
name: "auth-forgot",
component: () =>
import(
/* webpackChunkName: "auth-forgot" */ "@/views/auth/ForgotPage.vue"
),
meta: {
requiresAuth: true,
layout: "auth",
title: "ForgotPage",
},
},
{
path: "/auth/reset-password",
name: "auth-reset",
component: () =>
import(/* webpackChunkName: "auth-reset" */ "@/views/auth/ResetPage.vue"),
meta: {
requiresAuth: true,
layout: "auth",
title: "ResetPage",
},
},
];