Using $auth module’s redirect in tandem with $router.push in Nuxt.js
--
Recently I came across the issue of using the auth module in Nuxt.js and invoking a $router.push in subsequent line of code in the same method. The conundrum began when the lines after the auth.loginWith method did not execute as intended since the page was redirected to the redirect URI.
It has been only a week in the Vue.js land, so I suppose this issue is something faced by many newbies.