0๐
โ
I would take that button and wrap it, e.g:
{
name: "wrapped-v-btn",
data(){
return {
loading: false
}
}
}
<template>
<v-btn
:loading="loading"
@click="loading=!loading"
v-bind="$attrs"
>
<v-img src="images/plus-i.svg"></v-img>
</v-btn>
</template>
...
<td>
<wrapped-v-btn text class="table-btn" />
</td>
Source:stackexchange.com