Moum
Moum

Reputation: 93

How to delete Label Resources and change defaut menu in Laravel Nova?

I would like to change the default menu of Nova to have a grouped menu but that we unfold if necessary. I also want to remove the word Resources. any help ! Thank you in advance.

Here is what i have:

enter image description here

I want to have something like this:

enter image description here

Upvotes: 0

Views: 702

Answers (1)

Rosin
Rosin

Reputation: 141

Nova has a navigation.blade.php file that renders the sidebar resources.

To override blade views you can copy the file to resources/views/vendor/nova folder. To make it easier,you can use the following commands to make the directory and copy the file from vendor folder.

mkdir -p resources/views/vendor/nova/resources/
cp -r vendor/laravel/nova/resources/views/resources/navigation.blade.php resources/views/vendor/nova/resources/navigation.blade.php

Upvotes: 1

Related Questions