Support the ongoing development of Laravel.io →
posted 5 years ago
Laravel

Regarding lavary / laravel-menu It is necessary that a certain file is selected in the body of the page, selected when the link is clicked. This is in the dynamic menu, it allows you to create a header and footer page. How this one is done here, I do not know.

I prescribed Route :: get ('index', ['as' => '/site/main.php', function () {}]); $ menu-> add ('Home', ['route' => '/site/main.php']); This does not work. And it does not work with a slash / instead of an index.

How can I add new pages to the site, while maintaining the menu on each page?

Or advise a good module for creating menus or a guide to creating for Laravel 6.3. I am new to this and do not understand what this framework is good for.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

YAMER1 yamer1 Joined 4 Oct 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.