48 lines
1009 B
JavaScript
48 lines
1009 B
JavaScript
|
|
const Layout = () => import('@/layout/index.vue')
|
||
|
|
|
||
|
|
export default {
|
||
|
|
name: 'Test',
|
||
|
|
path: '/test',
|
||
|
|
component: Layout,
|
||
|
|
redirect: '/test/unocss',
|
||
|
|
meta: {
|
||
|
|
title: '基础功能测试',
|
||
|
|
icon: 'mdi:menu',
|
||
|
|
},
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
name: 'Unocss',
|
||
|
|
path: 'unocss',
|
||
|
|
component: () => import('@/views/test-page/unocss/index.vue'),
|
||
|
|
meta: {
|
||
|
|
title: '测试unocss',
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: 'Message',
|
||
|
|
path: 'message',
|
||
|
|
component: () => import('@/views/test-page/message/index.vue'),
|
||
|
|
meta: {
|
||
|
|
title: '测试Message',
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: 'Dialog',
|
||
|
|
path: 'dialog',
|
||
|
|
component: () => import('@/views/test-page/dialog/index.vue'),
|
||
|
|
meta: {
|
||
|
|
title: '测试Dialog',
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: 'TestKeepAlive',
|
||
|
|
path: 'keep-alive',
|
||
|
|
component: () => import('@/views/test-page/keep-alive/index.vue'),
|
||
|
|
meta: {
|
||
|
|
title: '测试Keep-Alive',
|
||
|
|
keepAlive: true,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
],
|
||
|
|
}
|