ampedo
ampedo

Reputation: 253

Check if logged in using Sentinel in Vue JS

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

Answers (0)

Related Questions