The code will look something like this
< template v-for = "author in authors" >
< template v-if = "post.authors && post.authors.includes(author.id)" >
< div >
< div class = "flex justify-between items-center text-primary-500" >
< div class = "flex flex-row" >
< img class = "w-8 h-8 aspect-square object-cover rounded-full" v-bind : src = "author.image" />
< p v-html = "author.name" class = "pl-2" > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec molestie sapien quis nulla convallis. </ p >
</ div >
< div ></ div >
</ template >
< span class = "badge bg-primary" v-html = "tag.name" > Primary Badge </ span >
</ template >