Reputation: 253
Is there a way to check if user is logged in using sentinel::check() in vue file. I tried using the blade syntax but it doesn't work (see below).
@if(Sentinel::check())
@endif
Maybe anyone knows how? Thank you in advance.
Upvotes: 0
Views: 228