Preyash
Preyash
NNuxt
Created by Preyash on 4/6/2024 in #❓・help
Is that possible to fetch data on delete item without manually calling fetchData?
what i wanna do is update the apidata on delete without calling fetchData() after delete. I've added watch(() => apidata, fetchData, { deep: true, once: true }); to achieve but not getting result. so is that possible? Pls see the attached file. Note: recently started exploring vue, so go easy
2 replies