refactor: routes and file

This commit is contained in:
张传龙
2022-09-04 12:18:47 +08:00
parent f1bc9edbac
commit bb171866b6
12 changed files with 43 additions and 244 deletions

View File

@@ -0,0 +1,42 @@
const Layout = () => import('@/layout/index.vue')
export default {
name: 'Test',
path: '/base',
component: Layout,
redirect: '/base/unocss',
meta: {
title: '基础功能',
customIcon: 'logo',
order: 1,
},
children: [
{
name: 'Unocss',
path: 'unocss',
component: () => import('./unocss/index.vue'),
meta: {
title: '测试unocss',
icon: 'material-symbols:auto-awesome-outline-rounded',
},
},
{
name: 'Message',
path: 'message',
component: () => import('./message/index.vue'),
meta: {
title: '测试Message',
icon: 'material-symbols:auto-awesome-outline-rounded',
},
},
{
name: 'Dialog',
path: 'dialog',
component: () => import('./dialog/index.vue'),
meta: {
title: '测试Dialog',
icon: 'material-symbols:auto-awesome-outline-rounded',
},
},
],
}