[Vuejs]-How to make a delete function on nested data in Laravel vue js

0👍

Solved using this

 delete(item){
   this.parent.splice(this.parent.findIndex(e=> e.id == item.id),1)
 },


  <v-btn icon @click="delete(item)"><v-icon>delete_forever</v-icon></v-btn>

v-data-table has a different way of doing it. and I forgot mentioning about the data table

Leave a comment