2023-01-29 13:44:19 +08:00
|
|
|
import LayoutOutside from "/src/layout/layout-outside.vue";
|
|
|
|
|
import Error404 from "/src/views/framework/error/404.vue";
|
|
|
|
|
const errorPage = [{ path: "/:pathMatch(.*)*", name: "not-found", component: Error404 }];
|
|
|
|
|
export const outsideResource = [
|
2026-04-26 12:30:30 +08:00
|
|
|
{
|
|
|
|
|
meta: {
|
|
|
|
|
title: "首页",
|
|
|
|
|
isMenu: false,
|
|
|
|
|
},
|
|
|
|
|
name: "landing",
|
|
|
|
|
path: "/",
|
|
|
|
|
component: "/framework/landing/index.vue",
|
|
|
|
|
},
|
2023-01-29 13:44:19 +08:00
|
|
|
{
|
|
|
|
|
title: "outside",
|
|
|
|
|
name: "outside",
|
|
|
|
|
path: "/outside",
|
|
|
|
|
component: LayoutOutside,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
meta: {
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "登录",
|
2023-01-29 13:44:19 +08:00
|
|
|
},
|
|
|
|
|
name: "login",
|
|
|
|
|
path: "/login",
|
2025-06-28 23:57:01 +08:00
|
|
|
component: "/framework/login/index.vue",
|
2023-06-27 09:29:43 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
meta: {
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "注册",
|
2023-06-27 09:29:43 +08:00
|
|
|
},
|
|
|
|
|
name: "register",
|
|
|
|
|
path: "/register",
|
2025-06-28 23:57:01 +08:00
|
|
|
component: "/framework/register/index.vue",
|
|
|
|
|
},
|
2025-07-24 16:56:22 +08:00
|
|
|
{
|
|
|
|
|
meta: {
|
|
|
|
|
title: "找回密码",
|
|
|
|
|
},
|
|
|
|
|
name: "forgotPassword",
|
|
|
|
|
path: "/forgotPassword",
|
|
|
|
|
component: "/framework/forgot-password/index.vue",
|
|
|
|
|
},
|
2025-11-27 01:59:22 +08:00
|
|
|
{
|
|
|
|
|
meta: {
|
|
|
|
|
title: "第三方登录回调",
|
|
|
|
|
},
|
|
|
|
|
name: "oauthCallback",
|
|
|
|
|
path: "/oauth/callback/:type",
|
|
|
|
|
component: "/framework/oauth/oauth-callback.vue",
|
|
|
|
|
},
|
2025-06-28 23:57:01 +08:00
|
|
|
],
|
2023-01-29 13:44:19 +08:00
|
|
|
},
|
2025-06-28 23:57:01 +08:00
|
|
|
...errorPage,
|
2023-01-29 13:44:19 +08:00
|
|
|
];
|