I'm using vuetify 1.1.8 and vue 3.0.0-rc.3. I am trying to use some of the custom SVG icons in my project, which I have designed, instead of default icons from Material Icons or FontAwesome Icons which are supported by vuetify
I have tried using vue-svg-loader
to load my custom svg icons, and use them as components. Something like this
<template>
<icon-one></icon-one>
</template>
<script>
import iconOne from './public/iconOne.svg'
export default{
components:{
iconOne
}
}
</script>
But the problem with vue-svg-loader
is that I cannot use them in <v-text-field>
's append-icon
and many other places where I had freedom with <v-icon>
.
I have also read the vuetify docs where they have mentioned about using custom icons but I don't think that is helping too.
Can someone help me out with this. May be I should try sprite-images as supported by material angular
TL;DR
I have custom self-made SVG Icons, and I want to use them as <v-icon>customIcon</v-icon>
in vuetify