title: How to check in a Vue component if a user is authenticated in Laravel?
body: <p>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 Laravel's Auth facade. I'm making various Axios requests which I need to allow/disallow based on if user logged in.</p>
  
  <p>I have VUEX setup and was thinking that I can use local storage somehow to have a state for <strong><em>isLoggedin</em></strong> for example that works with Laravel.  But I don't know if this is correct method, or secure and presumably Laravel is already storing it's authentication.  So can I just access that direct in Vue? </p>
  
  <p>Some unclean solutions here that I don't think are the best -
  <a href="https://laracasts.com/discuss/channels/vue/hide-button-if-user-is-logged-with-laravel-and-vuejs" rel="noreferrer">https://laracasts.com/discuss/channels/vue/hide-button-if-user-is-logged-with-laravel-and-vuejs</a></p>
  
  <p>I can not find any examples for this :(</p>