In the attached screen shot I want to get to the content. I'm trying to reach it with element.comments.content but doesn't work, see the code below:
<div class="fil-actualites-container">
<div class="posts" v-for="(element, index) in postArray" :key="index">
<p>{{ element.title }}</p>
<p>{{ element.content }}</p>
<p>{{ element.likes.length }}</p>
<button @click="addLike(element._id)">Add Like</button>
<br />
<input
type="text"
v-model="contentComment"
@keydown.enter="addComment(element._id)"
placeholder="add Comment"
/>
<p>{{ element.comments.content }}</p>
</div>
