[Vuejs]-How can I pass down an array of objects as a prop to a component and then pass down the array's members as props to nested components?

0👍

According to Vue.js documentation

It is therefore recommended to always have a single root-level, plain element in templates.

Try to wrap oo-upload-template with tr and change

<tr v-for="upload in uploads">
  <oo-upload :upload="upload"></oo-upload>
</tr>

to

<tr is="oo-upload" v-for="upload in uploads" :upload="upload"></tr>

Example fixed fiddle

Leave a comment