Closed mertasan closed 3 years ago
Just don't pass an url (or pass
null
)See this similar example: https://github.com/artkonekt/appshell/blob/2.0.0/src/Providers/BootsAppShellMenu.php#L40
Update:
Just don't pass the url in the array:
$menu = Menu::create('main');
$menu->addItem('home', 'Home', '/');
$menu->addItem('section', 'Section Title', ['class' => 'menu-section']);
$menu->addItem('about', 'About', '/about');
Thank you @fulopattila122
I don't want to use links in some items. How can I do that?