Files
wireguard-dashboard-admin/src/views/test-page/route.js

49 lines
959 B
JavaScript
Raw Normal View History

2022-08-07 22:25:28 +08:00
const Layout = () => import('@/layout/index.vue')
export default {
name: 'Test',
path: '/test',
component: Layout,
redirect: '/test/unocss',
meta: {
title: '基础功能测试',
icon: 'mdi:menu',
2022-08-08 15:36:43 +08:00
index: 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',
},
},
{
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',
},
},
{
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',
},
},
{
name: 'TestKeepAlive',
path: 'keep-alive',
2022-08-08 15:36:43 +08:00
component: () => import('./keep-alive/index.vue'),
2022-08-07 22:25:28 +08:00
meta: {
title: '测试Keep-Alive',
keepAlive: true,
},
},
],
}