Skip to content

Rendering menus

Denis Duliçi edited this page Apr 11, 2019 · 1 revision

To render the menu you can use the render or get method of facade or put the use the menu name as helper parameter.

menu('navbar')

Menu::render('navbar');

Menu::get('navbar');

You can also set which style to present the menu in the second parameter.

menu()->render('navbar', 'navbar-right');

Or you may also set which view to present the menu.

menu()->render('navbar', 'menu::nav-tabs');
Clone this wiki locally