publishes/Navigation.php
protected function makeSidebar()
    {
        $this->navigation->create(Navigable::MENU_SIDEBAR, function (MenuBuilder $sidebar) {
            $sidebar->header('Main Menu');

            // Dashboard
            $sidebar->route('scaffold.dashboard', trans('administrator::module.dashboard'), [], 1, [
                'id' => 'dashboard',
                'icon' => 'fa fa-dashboard',
                'active' => str_is(request()->route()->getName(), 'scaffold.dashboard'),
            ]);

            // Create new users group
            $sidebar->dropdown(trans('administrator::module.groups.users'), function (MenuItem $sub) {
                $sub->route('scaffold.create', trans('administrator::buttons.create_item', ['resource' => 'User']), ['module' => 'users'], 1, []);
            }, 2, ['id' => 'groups', 'icon' => 'fa fa-group']);
        });
    }
protected function makeSidebar()
    {
        $this->navigation->create(Navigable::MENU_SIDEBAR, function (MenuBuilder $sidebar) {
            $sidebar->header('Main Menu');

            // Dashboard
            $sidebar->route('scaffold.dashboard', trans('administrator::module.dashboard'), [], 1, [
                'id' => 'dashboard',
                'icon' => 'fa fa-dashboard',
                'active' => str_is(request()->route()->getName(), 'scaffold.dashboard'),
            ]);

            // Create new users group
            $sidebar->dropdown(trans('administrator::module.groups.users'), function (MenuItem $sub) {
                $sub->route('scaffold.create', trans('administrator::buttons.create_item', ['resource' => 'User']), ['module' => 'users'], 1, []);
            }, 2, ['id' => 'groups', 'icon' => 'fa fa-group']);
        });
    }
protected function makeSidebar ( ) { $ this -> navigation -> create ( Navigable :: MENU_SIDEBAR , function ( MenuBuilder $ sidebar ) { $ sidebar -> header ( 'Main Menu' ) ; // Dashboard $ sidebar -> route ( 'scaffold.dashboard' , trans ( 'administrator::module.dashboard' ) , [ ] , 1 , [ 'id' => 'dashboard' , 'icon' => 'fa fa-dashboard' , 'active' => str_is ( request ( ) -> route ( ) -> getName ( ) , 'scaffold.dashboard' ) , ] ) ; // Create new users group $ sidebar -> dropdown ( trans ( 'administrator::module.groups.users' ) , function ( MenuItem $ sub ) { $ sub -> route ( 'scaffold.create' , trans ( 'administrator::buttons.create_item' , [ 'resource' => 'User' ] ) , [ 'module' => 'users' ] , 1 , [ ] ) ; } , 2 , [ 'id' => 'groups' , 'icon' => 'fa fa-group' ] ) ; } ) ; }
Make SideBar navigation.
Make SideBar navigation .