Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit 7726067

Browse files
committed
updated readme accordingly.
1 parent 2f4fe7d commit 7726067

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,22 @@ Therefore you have to add this tag after the Navigation Links section navigation
9898

9999
```php
100100
<livewire:navigation/>
101+
102+
or
103+
104+
@if(Auth::user()->hasRole('superuser')) // or your optional roles
105+
@livewire('user-management-menus')
106+
@livewire('developer-menus')
107+
@endif
108+
```
109+
110+
And add mobile menu default on line 214
111+
112+
```php
113+
@if(Auth::user()->hasRole('superuser')) // or your optional roles
114+
@livewire('user-management-menus-mobile')
115+
@livewire('developer-menus-mobile')
116+
@endif
101117
```
102118

103119
## Logging in

0 commit comments

Comments
 (0)