I'm using vue route and I have the following link:
<router-link :to="{name:'calendars', params:{ year:c.year, id:c.id}}">
Calendario
</router-link>
The route for this link is:
{
name: 'calendars',
path: '/calendario/:year',
props: true,
component: require('./components/user/views/Calendar')
},
my problem is that the url shows it to me well that it is calendar / 2018 for example, but I also need to use the id in that component and it does not happen to me and probe props but it does not work either (something I'm doing wrong)