Vue.js
3
Вклад в тег
{
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'],
overfollow:hidden;
position:relative;
top: 50%;
left:50%;
transform:translate(-50%,-50%);