refactor: 规范文件夹结构
This commit is contained in:
parent
958589edd0
commit
1190d08a87
@ -99,7 +99,7 @@ export const basicRoutes = [
|
|||||||
{
|
{
|
||||||
name: 'Unocss',
|
name: 'Unocss',
|
||||||
path: 'unocss',
|
path: 'unocss',
|
||||||
component: () => import('@/views/test-page/TestUnocss.vue'),
|
component: () => import('@/views/test-page/unocss/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '测试unocss',
|
title: '测试unocss',
|
||||||
},
|
},
|
||||||
@ -107,7 +107,7 @@ export const basicRoutes = [
|
|||||||
{
|
{
|
||||||
name: 'Message',
|
name: 'Message',
|
||||||
path: 'message',
|
path: 'message',
|
||||||
component: () => import('@/views/test-page/TestMessage.vue'),
|
component: () => import('@/views/test-page/message/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '测试Message',
|
title: '测试Message',
|
||||||
},
|
},
|
||||||
@ -115,7 +115,7 @@ export const basicRoutes = [
|
|||||||
{
|
{
|
||||||
name: 'Dialog',
|
name: 'Dialog',
|
||||||
path: 'dialog',
|
path: 'dialog',
|
||||||
component: () => import('@/views/test-page/TestDialog.vue'),
|
component: () => import('@/views/test-page/dialog/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '测试Dialog',
|
title: '测试Dialog',
|
||||||
},
|
},
|
||||||
@ -123,7 +123,7 @@ export const basicRoutes = [
|
|||||||
{
|
{
|
||||||
name: 'TestKeepAlive',
|
name: 'TestKeepAlive',
|
||||||
path: 'keep-alive',
|
path: 'keep-alive',
|
||||||
component: () => import('@/views/test-page/TestKeepAlive.vue'),
|
component: () => import('@/views/test-page/keep-alive/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '测试Keep-Alive',
|
title: '测试Keep-Alive',
|
||||||
keepAlive: true,
|
keepAlive: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user