vue array with keys and objects as values code example
Example 1: vue v-for object
// object: {
// title: 'How to do lists in Vue',
// author: 'Jane Doe',
// publishedAt: '2016-04-10'
// }
<div v-for="(value, name, index) in object">
{{ index }}. {{ name }}: {{ value }}
</div>
Example 2: how to map over arrays vuejs
this.allCampaigns = response.data.data.campaigns.map(campaigns => ( campaigns.name))
map over array to access item (eg. just the campaign name)