vben.ts
833 Bytes
/*
* @Date: 2025-11-17 19:45:50
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-06 15:26:01
* @FilePath: /vben-admin/apps/web-ele/src/router/routes/modules/vben.ts
* @Description: 路由模块 - Vben 相关页面
*/
import type { RouteRecordRaw } from 'vue-router';
import { $t } from '#/locales';
const routes: RouteRecordRaw[] = [
{
name: 'Profile',
path: '/profile',
component: () => import('#/views/_core/profile/index.vue'),
meta: {
icon: 'lucide:user',
hideInMenu: true,
title: $t('page.auth.profile'),
},
},
{
name: 'Help',
path: '/help',
component: () => import('#/views/_core/help/index.vue'),
meta: {
icon: 'lucide:circle-help',
hideInMenu: true,
title: $t('ui.widgets.qa'),
},
},
];
export default routes;