Recent Topics

Menu not adding in Admin

  • Hi,

    When i try to add menu through menu.php file under config directory. Menu does not come in sidebar in admin.
    below is my code for adding menu "Commission Rule"

    'key' => 'commission-rule',
    'name' => 'admin::app.layouts.commission-rule',
    'route' => 'admin.commission-rule',
    'sort' => 11,
    'icon-class' => ''

    Can you please guide me about it

  • Hi @deepaksharma1011,

    Whenever you do some changes in the menu, just run this command,
    php artisan optimize or php artisan config:cache

Log in to reply