Is there a way to iterate through an output object using the v-for template in Vue.js?
new Vue({
el: app,
data: {
output: {
player: [1, 5, 61, 98, 15, 315, 154, 65],
monster: [14, 165, 113, 19, 22],
},
},
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<div id="app">
<span v-for="value in output">
<h6>{{value.player}}</h6>
<h6>{{value.monster}}</h6>
</span>
</div>