I have vue project without npm, yarn or smth else. I've just downloaded all vue files local
and now I want to use my local icon2 in vuetify v-btn as button icon. How can I do it?
<v-btn icon>
<v-img src="path/to/your/icon.svg" />
</v-btn>
As described in Vuetify's docs, since the v-btn
uses a slot for content, you can put any element you want in that slot.
The icon
prop simply tells the v-btn to be especially styled for icons (round & flat).