Closed Faber44 closed 1 year ago
Hello,
The easiest way to remove the logs menu item is to set logs => false
in the config/boilerplate/app.php
.
Or you can unregister menu items in the boot
method in app/Providers/AppServiceProvider.php
:
public function boot()
{
app('boilerplate.menu.items')
->unregisterMenuItem("Sebastienheyd\Boilerplate\Menu\Users")
->unregisterMenuItem("Sebastienheyd\Boilerplate\Menu\Logs");
}
Hello and thanks for your boilerplate :) Should be simple and easy, but how do you remove default menu items (like logs and users) without touching the vendor files ?