Closed liujiayii closed 2 months ago
in version 0.32.3, i achieve this by accident if it could help
└── src
└── pages
└── user
├──index.vue
├──subpage2.vue
└──[which]
└──subsubpage.vue
└── user.vue
The following routes will be generated:
[
{
path: '/user',
component: '@/pages/user.vue',
routes: [
{ path: '', component: '@/pages/user/index.vue' },
{ path: 'subpage2', component: '@/pages/user/subpage2.vue' },
{ path: ':which/subsubpage', component: '@/pages/user/[which]/subsubpage.vue' },
],
},
]
and in this case, these are validated url
/user
/user/subpage2
/user/11111/subsubpage
Out of scope
Description
The directory structure is as follows:
The following routes will be generated:
Suggested solution
none
Alternative
No response
Additional context
No response
Validations