<?php
$out[] = json_decode(file_get_contents('php://input'));
$out[] = 100;
$out[] = $_POST;
echo json_encode($out);
?>
{
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'],