router link with query params in vuejs code example
Example: route link prop vue
<router-link :to="{name: 'places', props: { someUnrelatedVar: 101 } }">Places, but 101</router-link>
<router-link :to="{name: 'places', props: { someUnrelatedVar: 101 } }">Places, but 101</router-link>