Closed
Description
What problem does this feature solve?
Allows the routes to be defined with a prefix that doesn't need to be repeated in each route.
What does the proposed API look like?
Currently this doesn't work because the parent route doesn't have a component specified. This feature isn't about nested routes but just about nested paths.
{ path: '/prefix': children: [
{ path: 'one', component: ... },
{ path: 'two', component: ... },
]}
Creates /prefix/one
and /prefix/two
.
Metadata
Metadata
Assignees
Labels
No labels