@foreach ($menu_nodes as $key => $row)
  • @if ($row->icon_font) @endif {{ $row->title }} @if ($row->has_child)
    @endif
    @if ($row->has_child) {!! Menu::generateMenu([ 'menu' => $menu, 'menu_nodes' => $row->child, 'view' => 'main-menu', 'options' => ['class' => 'sub-menu'], ]) !!} @endif
  • @endforeach