How do I bring bullet items?
Now I can access sliders
using v-for="item in slider" :key="item.id"
.
In the <ul class="c-list-slider__bullets">
part, I had to bring bullet items, how do I get access to / bring items from it?
"sliders": [{
"$id": "4",
"id": "f0914efc-143a-4ca1-be06-0798e0cd7809",
"hat": "confiança em alta"
"bullets": [{
"$id": "5",
"id": "96b4ffb8-1f39-456c-bb83-31d48226fd92",
"title": "teste 1"
},
{
"$id": "6",
"id": "5b19addf-7e65-4c84-b5ea-db2330de64eb",
"title": "teste 2'"
}
]
}]
<article class="c-list-slider__item materia" v-for="item in slider" :key="item.id">
<div class="c-list-slider__content">
<h3><a :href="link" class="c-list-slider__:title" :title="title">{{item.title}}</a></h3>
<ul class="c-list-slider__bullets">
<li><a :href="link" :title="title">{{item.title}}</a></li>
</ul>
</div>
<figure>
<a :href="link" :title="title"><img src="" alt=""></a>
</figure>
</article>