Returns a list of routes from the given base path
If the base path is a subroute, it will return the parent route and its siblings
If the base path is a top-level route, it will return the current route and its children
Returns a list of routes from the current route
If the current route is a subroute, it will return the parent route and its siblings
If the current route is a top-level route, it will return the current route and its children
Returns a list of subroutes from the given base path
If the base path is a subroute, it will return its siblings
If the base path is a top-level route, it will return its children
Returns a list of subroutes from the current route
If the current route is a subroute, it will return its siblings
If the current route is a top-level route, it will return its children
Registers a new route.
The path can contain parameters, e.g. '/user/:id'.
The path can also contain wildcards, e.g. '/user/*'.
The path can also contain query parameters, e.g. '/user?foo=bar'.