You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the doc to implement a new menu. But it is does not recommend where should I write $menu = Menu::new();. Then I searched the issue and found out people are using it from a number of places including config, service provider, middleware, view composer and more.
What is the recommended approach to setup a menu from?
I need to add items from the main laravel application and a number of packages, I am also using laravel-permissions packages.
This discussion was converted from issue #134 on May 04, 2023 07:22.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was following the doc to implement a new menu. But it is does not recommend where should I write
$menu = Menu::new();
. Then I searched the issue and found out people are using it from a number of places including config, service provider, middleware, view composer and more.What is the recommended approach to setup a menu from?
I need to add items from the main laravel application and a number of packages, I am also using laravel-permissions packages.
Beta Was this translation helpful? Give feedback.
All reactions