0👍
Here’s how to repeat the data only.
<ul>
<li v-for="service in responseObject.data" :key="service.service_id">
{{ service.service_name }} :: {{ service.service_type }}
</li>
</ul>
0👍
0👍
You can access the child "data" array by adding dot notation to your v-for statement ("responseObject.data")-
<ul>
<li v-for="service in responseObject.data" :key="service.service_id">
{{ service.service_name }}
</li>
</ul>
Codepen – https://codepen.io/bsod_/pen/wvYwBrj
Source:stackexchange.com