Skip to content

Commit

Permalink
add option to make top level menu clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
milewski committed Dec 4, 2019
1 parent 4de5145 commit 21fd71d
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 17 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,13 @@ On the `navigation` key only `TopLevelResource` are allowed to be used, any othe
TopLevelResource::make([
'label' => 'Resources',
'icon' => null,
'linkTo' => null, // accepts an instance of `NovaResource` or a Nova `Resource::class`
'resources' => [
NovaResource::make(...)
Group::make(...)
LensResource::make(...)
InternalLink::make(...)
ExternalLink::make(...)
NovaResource::make(...),
Group::make(...),
LensResource::make(...),
InternalLink::make(...),
ExternalLink::make(...),
RawResource::make(...)
]
])
Expand Down
Loading

0 comments on commit 21fd71d

Please sign in to comment.