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 = [
|
|
|
|
|
{
|
|
|
|
|
title: "outside",
|
|
|
|
|
name: "outside",
|
|
|
|
|
path: "/outside",
|
|
|
|
|
component: LayoutOutside,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
meta: {
|
|
|
|
|
title: "登录"
|
|
|
|
|
},
|
|
|
|
|
name: "login",
|
|
|
|
|
path: "/login",
|
|
|
|
|
component: "/framework/login/index.vue"
|
2023-06-27 09:29:43 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
meta: {
|
|
|
|
|
title: "注册"
|
|
|
|
|
},
|
|
|
|
|
name: "register",
|
|
|
|
|
path: "/register",
|
|
|
|
|
component: "/framework/register/index.vue"
|
2023-01-29 13:44:19 +08:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
...errorPage
|
|
|
|
|
];
|