koti42
<ul class="dropdown-menu">
@foreach ($menu_nodes as $key => $row)
<li class="nav-item"><a href="{{ $row->url }}" lass="nav-link">{{ $row->title }}</a>
@if ($row->has_child)
{!!
Menu::generateMenu([
'slug' => $menu->slug,
'view' => 'sub-menu',
'options' => ['class' => ''],
'parent_id' => $row->id,
])
!!}
@endif
</li>
@endforeach
</ul>
buyur hocam sub menunun kodu