Skip to content
Discussion options

You must be logged in to vote

I'd recommend reading this section in the documentation, which has some useful information on what works and what doesn't.

A small example, based on what I do myself:

// NovaServiceProvider
public function boot(): void
{
    Nova::userMenu(function (\Illuminate\Http\Request $request, \Laravel\Nova\Menu\Menu $menu): \Laravel\Nova\Menu\Menu {
        // You can create and return a fresh Menu, if you want to ensure existing items are deleted.
        // Menu::make()
        // The Logout link will always be present at the bottom, from what I can tell, though.
        return $menu->append([
            MenuItem::link(\__('2FA Configuration'), \route('my.2fa.route')),
            // ...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by crynobone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants