Support for view routes which are children of the "empty path" top-level route
danielwiehl opened this issue · 0 comments
danielwiehl commented
Is your feature request related to a problem? Please describe.
The SCION Workbench supports navigation to any top-level primary route that has a non-empty path. Thus, a view route cannot be a child of a top-level empty-path route, which would be useful for declaring guards in a single place.
{
path: '',
canActivate: [authorizedGuard()],
children: [
{
path: 'view-1',
loadComponent: () => import('./view/view-1.component'),
},
{
path: 'view-2',
loadComponent: () => import('./view/view-2.component'),
},
]
},
Describe the solution you'd like
Support view routes that are children of the empty-path top-level route.