Optional allIf set to true - user must have all roles from route.roles Array.
If set to false - user must have at least one role from route.roles Array.
to false
Optional caseOptional elementOptional fallbackRoute fallback definitions
Optional route?: stringFallback route (applied for private or public routes)
Optional handleOptional indexOptional pathOptional rolesArray of roles that protects the route. If not provided, then the page can be accessed by users without roles.
Optional routesNested routes definitions
Generated using TypeDoc
Single route configuration