0👍
✅
You have access to item
in the scope of your v-for
tag/block. Just do <a @click="AddCart(item.id)"></a>
, and receive the argument with AddCart(id) {}
Source:stackexchange.com