mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
26 lines
515 B
TypeScript
26 lines
515 B
TypeScript
import { $t } from "/@/plugins/i18n";
|
|
import type { RouteConfigsTable } from "/#/index";
|
|
|
|
const editorRouter: RouteConfigsTable = {
|
|
path: "/editor",
|
|
redirect: "/editor/index",
|
|
meta: {
|
|
icon: "edit",
|
|
title: $t("menus.hseditor"),
|
|
rank: 2
|
|
},
|
|
children: [
|
|
{
|
|
path: "/editor/index",
|
|
name: "Editor",
|
|
component: () => import("/@/views/editor/index.vue"),
|
|
meta: {
|
|
title: $t("menus.hseditor"),
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default editorRouter;
|