1👍
✅
There’s no need to use template interpolation within the v-for
as the buttons
is an expression of type string | null | number | object | array | undefined
, so you can just pass that as an argument:
v-on:click="getGenre(buttons)"
Source:stackexchange.com