im new to vue js
usually passing the variable to blade with @foreach
i have a joined table like this
so, there could be multiple ref_contract_id
i've tried with v-for, but only 4 blank rows appeared
here's my vue
<tr v-for="material in getmaterial">
<td></td>
<td>{{ material.product_name }}</td>
<td>{{ material.qty }}</td>
<td>{{ material.price }}</td>
<td>{{ material.budget }}</td>
export default {
props: ['getmaterial'],
data() {
return {
module_url: `${this.$root.base_url}/supplier-comparison`,
forms: {
action: {
quotation_no: '',
project_code: '',
rof_code: '',
submit: 'Create',
}
},
}
},


v-fordirective is the proper way to iterate. What have you done to verify the value of thegetmaterialprop?