Disable FetchData on certain routes
nikklass opened this issue · comments
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?
Hmm, bit strange it's doing it on each route, should only be on the initial load, you may have to check your setup there.
Though you can also just disable it all together and do it manually as well.