outl1ne / nova-settings

A Laravel Nova tool for editing custom settings using native Nova fields.
MIT License
274 stars 97 forks source link

mainMenu #134

Closed merijnponzo closed 2 years ago

merijnponzo commented 2 years ago

Hello,

With Nova 4.0, if i use a custom menu

Nova::mainMenu(function (Request $request) {

The settings won't show up in de sidebar, if i remove my custom menu i see the settings.

How can i add the settings to my custom menu?

thanks

gauztech commented 2 years ago

You can do it with a link directly to the Nova Settings url:

MenuSection::make('Configuration', [
    MenuItem::link('General Settings', 'nova-settings/general'),
])->icon('Cog'),
merijnponzo commented 1 year ago

Thanks!