mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-14 22:30:31 +08:00
31 lines
590 B
TypeScript
31 lines
590 B
TypeScript
const Layout = () => import("@/layout/index.vue");
|
|
|
|
export default [
|
|
{
|
|
path: "/login",
|
|
name: "Login",
|
|
component: () => import("@/views/login/index.vue"),
|
|
meta: {
|
|
title: "登录",
|
|
showLink: false,
|
|
rank: 101
|
|
}
|
|
},
|
|
{
|
|
path: "/redirect",
|
|
component: Layout,
|
|
meta: {
|
|
title: "加载中...",
|
|
showLink: false,
|
|
rank: 102
|
|
},
|
|
children: [
|
|
{
|
|
path: "/redirect/:path(.*)",
|
|
name: "Redirect",
|
|
component: () => import("@/layout/redirect.vue")
|
|
}
|
|
]
|
|
}
|
|
] satisfies Array<RouteConfigsTable>;
|