I installed Laravel Breeze with default component dropdown item. I have created a menu and I want to add a sub menu using dropdown.
How can I do it? How can I use it as a component?
<x-nav-link :href="route('dashboard')" :active="request()->routeIs('dashboard')">
{{ __('Dashboard') }}
</x-nav-link>
<x-nav-link :href="route('dashboard')" :active="request()->routeIs('national')">
{{ __('menu item1') }}
</x-nav-link>
<ul class="bg-white absolute mt-1 z-10 border rounded-lg w-full">
<li class="px-3 py-2">
Option 1
</li>
<li class="px-3 py-2">
Option 2
</li>
</ul>
<x-nav-link :href="route('dashboard')" :active="request()->routeIs('....')">
{{ __('....') }}
</x-nav-link>