mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 04:29:20 +08:00
30 lines
624 B
TypeScript
30 lines
624 B
TypeScript
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
import { $t } from '#/locales';
|
|
|
|
const routes: RouteRecordRaw[] = [
|
|
{
|
|
meta: {
|
|
icon: 'lucide:layout-dashboard',
|
|
order: -1,
|
|
title: $t('page.dashboard.title'),
|
|
},
|
|
name: 'Dashboard',
|
|
path: '/dashboard',
|
|
children: [
|
|
{
|
|
name: 'PddWorkbench',
|
|
path: '/workbench',
|
|
component: () => import('#/views/dashboard/workbench/index.vue'),
|
|
meta: {
|
|
affixTab: true,
|
|
icon: 'lucide:gauge',
|
|
title: $t('page.dashboard.workbench'),
|
|
},
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default routes;
|