0👍
Use props: true
in your route, in that case the router will pass the router parameters as props to the route’s component.
Other options related to props
are here:
https://router.vuejs.org/guide/essentials/passing-props.html
RYFM 🙂
Source:stackexchange.com