I've made a table and every tbody item is a component like this:
<div class="panel">
<table class="table">
<thead>
<tr>
<th>Door</th>
<th>Van</th>
<th>Naar</th>
<th>Type</th>
<th>Datum</th>
</tr>
</thead>
<tbody>
<ride v-for="ride in rides" :ride="ride"></ride>
</tbody>
</table>
</div>
ride:
<template>
<show-ride-modal :ride="ride"></show-ride-modal>
<tr>
<td>{{ ride.user.name }}</td>
<td>{{ ride.location.from }}</td>
<td>{{ ride.location.to }}</td>
<td>{{ ride.type.name }}</td>
<td>{{ ride.date }}</td>
<td>
<a @click="show" class="btn-show">Bekijk</a>
<a v-link="{ name: 'ritten' }" class="btn-edit">Bewerk</a>
<a v-link="{ name: 'ritten' }" class="btn-delete">Verwijder</a></td>
</tr>
</template>
So I would expect it to look like this:
But it looks like this:
How can I fix this?


