3👍
✅
The MessageItem
should be inside the <div>
tag:
<div v-for="(message, index) in messages" :key="index">
<MessageItem :message="message" />
</div>
Source:stackexchange.com