Skip to content

Commit

Permalink
feat: add skipLayouts description to the routing.adoc (#4042)
Browse files Browse the repository at this point in the history
Fixes #4007
  • Loading branch information
taefi authored Dec 20, 2024
1 parent d6771ef commit c84a798
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions articles/hilla/guides/routing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ Overrides the route path configuration. Uses the same syntax as the `path` prope
`loginRequired: boolean`::
For applications using authentication, requires user authentication for accessing the view.

`skipLayouts: boolean` (Since V24.6)::
Set to `true` to skip all the layouts wrapping for the view. Useful for cases such as the login view that often should not be wrapped in the main layout.

`rolesAllowed: readonly string[]`::
For applications using authentication, the array of user roles that are allowed to access the view.

Expand Down

0 comments on commit c84a798

Please sign in to comment.