feat: add lightweight admin workspace

This commit is contained in:
2026-06-21 17:48:43 +08:00
parent 56c1eec051
commit f9050c95d1
13 changed files with 603 additions and 16 deletions
@@ -0,0 +1,28 @@
import type { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
{
meta: {
hideInMenu: true,
icon: 'lucide:layout-dashboard',
order: 0,
title: 'menu-title.controlCenter',
},
name: 'Dashboard',
path: '/dashboard',
redirect: '/dashboard/workspace',
children: [
{
component: () => import('#/views/dashboard/workspace/index.vue'),
meta: {
hideInMenu: true,
title: 'menu-title.workspace',
},
name: 'DashboardWorkspace',
path: '/dashboard/workspace',
},
],
},
];
export default routes;