I have been trying to get a delete function working in my Vue, I have tried everything I could all day with no success.
I have the data here:
I use this button to grab a particular set within the data:
{{ subs.uploadTitle }}
{{ subs.uploadDetails }}
{{ subs.tags }}
<button @click=“deleteSelected(subs.uploadTitle)”>
The method that responds:
This takes it to my database.js
However when I click the button and debug I get the following error straight away
Followed by this:
Any help would be appreciated I honestly dont know where I am going wrong