Looking through this documentation: https://router.vuejs.org/en/essentials/navigation.html
It looks like you can bind the
If you're using the Vue Loader setup (which has tags in the files), you need to use this to reference the $router, if you're doing so within the part of the file.
this
console.log('The id is: ' + this.$route.params.id);