mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 00:26:20 +08:00

* chore: detail adjustment * refactor: Migrate demo applications to playground * perf: logic optimization * chore: update docs * chore: update docs
31 lines
642 B
TypeScript
31 lines
642 B
TypeScript
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
import { BasicLayout } from '#/layouts';
|
|
import { $t } from '#/locales';
|
|
|
|
const routes: RouteRecordRaw[] = [
|
|
{
|
|
component: BasicLayout,
|
|
meta: {
|
|
icon: 'ic:baseline-view-in-ar',
|
|
keepAlive: true,
|
|
order: 1000,
|
|
title: $t('page.demos.title'),
|
|
},
|
|
name: 'Demos',
|
|
path: '/demos',
|
|
children: [
|
|
{
|
|
meta: {
|
|
title: $t('page.demos.element-plus'),
|
|
},
|
|
name: 'NaiveDemos',
|
|
path: '/demos/element',
|
|
component: () => import('#/views/demos/element/index.vue'),
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default routes;
|