{
path: '/history/:id',
component: HistoryId,
name: 'historyId',
props: true
}
<router-link
tag="a"
class="button"
:to="{name: 'historyId', params: {id: historyItem.id, date: historyItem.date}}"
>
<script>
export default {
props: ['date'],