You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented vue-auth for my authentication. When a user logs in, fetchData method that fetches user details is called. Each time a user navigates to a different route, fetchData method is called each time.
Is there a way I can prevent fetchData from being called on certain routes, but still gets called on others?
The text was updated successfully, but these errors were encountered:
Hi,
I have implemented vue-auth for my authentication. When a user logs in, fetchData method that fetches user details is called. Each time a user navigates to a different route, fetchData method is called each time.
Is there a way I can prevent fetchData from being called on certain routes, but still gets called on others?
The text was updated successfully, but these errors were encountered: