2022-08-07 22:25:28 +08:00
|
|
|
const Layout = () => import('@/layout/index.vue')
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: 'Test',
|
2022-09-04 12:18:47 +08:00
|
|
|
path: '/base',
|
2022-08-07 22:25:28 +08:00
|
|
|
component: Layout,
|
2022-09-04 12:18:47 +08:00
|
|
|
redirect: '/base/unocss',
|
2022-08-07 22:25:28 +08:00
|
|
|
meta: {
|
2022-09-04 12:18:47 +08:00
|
|
|
title: '基础功能',
|
2022-08-27 11:46:34 +08:00
|
|
|
customIcon: 'logo',
|
2022-08-08 15:44:16 +08:00
|
|
|
order: 1,
|
2022-08-07 22:25:28 +08:00
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name: 'Unocss',
|
|
|
|
|
path: 'unocss',
|
2022-08-08 15:36:43 +08:00
|
|
|
component: () => import('./unocss/index.vue'),
|
2022-08-07 22:25:28 +08:00
|
|
|
meta: {
|
|
|
|
|
title: '测试unocss',
|
2022-08-27 11:46:34 +08:00
|
|
|
icon: 'material-symbols:auto-awesome-outline-rounded',
|
2022-08-07 22:25:28 +08:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'Message',
|
|
|
|
|
path: 'message',
|
2022-08-08 15:36:43 +08:00
|
|
|
component: () => import('./message/index.vue'),
|
2022-08-07 22:25:28 +08:00
|
|
|
meta: {
|
|
|
|
|
title: '测试Message',
|
2022-08-27 11:46:34 +08:00
|
|
|
icon: 'material-symbols:auto-awesome-outline-rounded',
|
2022-08-07 22:25:28 +08:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'Dialog',
|
|
|
|
|
path: 'dialog',
|
2022-08-08 15:36:43 +08:00
|
|
|
component: () => import('./dialog/index.vue'),
|
2022-08-07 22:25:28 +08:00
|
|
|
meta: {
|
|
|
|
|
title: '测试Dialog',
|
2022-08-27 11:46:34 +08:00
|
|
|
icon: 'material-symbols:auto-awesome-outline-rounded',
|
2022-08-07 22:25:28 +08:00
|
|
|
},
|
|
|
|
|
},
|
2022-09-09 09:53:49 +08:00
|
|
|
{
|
|
|
|
|
name: 'KeepAlive',
|
|
|
|
|
path: 'keep-alive',
|
|
|
|
|
component: () => import('./keep-alive/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
title: 'KeepAlive',
|
|
|
|
|
icon: 'material-symbols:auto-awesome-outline-rounded',
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-08-07 22:25:28 +08:00
|
|
|
],
|
|
|
|
|
}
|