Vue-router: why this.$router.push error: Cannot read property 'push' of undefined

Created on 7 Apr 2017  Â·  2Comments  Â·  Source: vuejs/vue-router

console.log(this.$router);
this.$router.push({ path : '/'});

Uploading 8FF62C5C-5C50-4805-94F0-01CA1DF73AFC.png…

Most helpful comment

Way to pass the buck :/

All 2 comments

Hello, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue - thank you!

Way to pass the buck :/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

baijunjie picture baijunjie  Â·  3Comments

marcvdm picture marcvdm  Â·  3Comments

gil0mendes picture gil0mendes  Â·  3Comments

Atinux picture Atinux  Â·  3Comments

achen224 picture achen224  Â·  3Comments