This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: HA6qRTvAIAI2lKBa3l9Ti4axd9C96aC4OWLl7unWLPQ
Cover

Using $auth Module’s Redirect in Tandem With $router.push in Nuxt.js

Written by @abrar | Published on 2020/3/15

TL;DR
Using $router.push in Nuxt.js and invoking a.router.push in subsequent line of code in the same method is redundant. The conundrum began when the lines after the.auth.loginWith method did not execute as intended since the page was redirected to the redirect. URL. The only thing left to do is disabling the redirect case in the. auth option: false will do the job! The.auth object in nuxt.config.js would look like this now:

[story continues]


Written by
@abrar
A Techie in Tokyo

Topics and
tags
vuejs|nuxtjs|frontend-development|authentication|javascript|web-development|programming|nodejs
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: HA6qRTvAIAI2lKBa3l9Ti4axd9C96aC4OWLl7unWLPQ