As the title states, I\'m a little confused how I would tackle a method in my Vue Component with if/else statement based on if the user is logged in and authenticated with Larav
I'm working with laravel 7+ and it doesn't need to send Auth::user() via controller Just call it from your laravel blade template file like below
your-template-name.blade.php
@if (Auth::check()) @else @endif
inside YourComponent.vue, store authUser like this: