I am currently working on a table where I want to show data of a robot. The li works fine, but the table will not show the data. I am using vue.js 2 btw. Does anyone know where my mistake is?
<template>
<div class="stats">
Statistiken
<table>
<thead>
<tr>
<th v-for="maschine in userdaten.maschinen" :key="maschine.maschineId">
{{maschine.maschineId}}
</th>
</tr>
</thead>
<tbody id="tableData">
<tr>
<td v-for="feed in maschine.feeds" :key="feed.feedsId ">
{{feed.feedsId}} - {{feed.datum}}
</td>
</tr>
</tbody>
</table>
<li v-for="maschine in userdaten.maschinen" :key="maschine.maschineId">
{{maschine.maschineId}}
<ul v-for="feed in maschine.feeds" :key="feed.feedsId">
<div id="before"
v-if="feed.datum >= '2020-10-03' + ' 00:00:00' && feed.datum <= '2020-10-03' + '23:59:59'"
style="margin-left: 300px; color: red">
{{feed.feedsId}} - {{feed.datum}}
</div>
<!--<div id="after" v-else>
{{feed.feedsId}} - {{feed.timestamp}}
</div>-->
</ul>
</li>
</div>
</template> ```
<li>element must be contained in a parent element,<ol>,<ul>or<menu>:key="feed.feedsId "remove that space maybe. Do you know of the VueDevTools browser addon?<li>and<ul>with<div>