78 lines
2.0 KiB
JavaScript
78 lines
2.0 KiB
JavaScript
const adminRouteManifest = [
|
|
{
|
|
path: "/sign-in",
|
|
mode: "lazy",
|
|
note: "login page",
|
|
},
|
|
{
|
|
path: "/",
|
|
layout: "authenticated",
|
|
children: [
|
|
{
|
|
index: true,
|
|
mode: "lazy",
|
|
note: "dashboard overview",
|
|
},
|
|
{
|
|
path: "config",
|
|
children: [
|
|
{
|
|
path: "system",
|
|
mode: "lazy",
|
|
children: [
|
|
{ index: true, mode: "lazy", note: "system overview" },
|
|
{ path: "safe", mode: "lazy" },
|
|
{ path: "subscribe", mode: "lazy" },
|
|
{ path: "invite", mode: "lazy" },
|
|
{ path: "frontend", mode: "lazy" },
|
|
{ path: "server", mode: "lazy" },
|
|
{ path: "email", mode: "lazy" },
|
|
{ path: "telegram", mode: "lazy" },
|
|
{ path: "APP", mode: "lazy" },
|
|
{ path: "subscribe-template", mode: "inline" },
|
|
],
|
|
},
|
|
{ path: "payment", mode: "lazy" },
|
|
{ path: "plugin", mode: "lazy" },
|
|
{ path: "theme", mode: "lazy" },
|
|
{ path: "notice", mode: "lazy" },
|
|
{ path: "knowledge", mode: "lazy" },
|
|
],
|
|
},
|
|
{
|
|
path: "server",
|
|
children: [
|
|
{ path: "manage", mode: "lazy" },
|
|
{ path: "group", mode: "lazy" },
|
|
{ path: "route", mode: "lazy" },
|
|
],
|
|
},
|
|
{
|
|
path: "finance",
|
|
children: [
|
|
{ path: "plan", mode: "lazy" },
|
|
{ path: "order", mode: "lazy" },
|
|
{ path: "coupon", mode: "lazy" },
|
|
{ path: "gift-card", mode: "lazy" },
|
|
],
|
|
},
|
|
{
|
|
path: "user",
|
|
children: [
|
|
{ path: "manage", mode: "lazy" },
|
|
{ path: "ticket", mode: "lazy" },
|
|
{ path: "traffic-reset-logs", mode: "lazy" },
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{ path: "/500", mode: "static" },
|
|
{ path: "/404", mode: "static" },
|
|
{ path: "/503", mode: "static" },
|
|
{ path: "*", mode: "static" },
|
|
];
|
|
|
|
module.exports = {
|
|
adminRouteManifest,
|
|
};
|