zakiiii liked this thread
I am using the following in my Menu Blade: Hopefully this will help with your issue:
<form method="POST" action="{{ route('logout') }}" x-data>
@csrf
<a href="{{ route('logout') }}" @click.prevent="$root.submit();">
<button type="button" class="blah blah blah -- Use the class code you want.">
{{ __('Log Out') }}
</button>
</a>
</form>
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community