In vue.js, I want to be able to do this:
<input type="button" value="+" v-on:click="addItem({{item.name}},{{item.price}})"/>
And then use methods to retrieve the value. But what I found is that the above does not work?
I want to access a function with vue.js and send values.
New contributor
MArt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.