Check if logged in using Sentinel in Vue JS

224 views Asked by At

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.

0

There are 0 answers