0๐
โ
- I found the problem with my code at line 42
then(this.router.push("/")).catch(err => console.log(err))
- The right way to call router is by $ the code would be replaced by
then(() => this.$router.push("/")).catch(err => console.log(err))
Source:stackexchange.com