[Vuejs]-Vue js "Cannot read property 'raw' of undefined" on v-for nested loop

-1👍

You do not need 3 loops:

<!-- 1st LOOP on main object -->
<template v-for="object in objects" v-if="object.visible">
  <!--  2nd LOOP on array  -->
  <template v-for="children in object.children">
    {{ children | json }}
  </template>
</template>

Leave a comment