Is it possible to override individual icons from Vuetify with Font Awesome svg icons, without writing an custom component for each icon?
Something like this: ???
import { svgPathData as envelopeSvg } from '@fortawesome/free-solid-svg-icons/faEnvelope'
import { svgPathData as questionCircleSvg } from '@fortawesome/free-solid-svg-icons/faQuestionCircle'
Vue.use(Vuetify)
const app = new Vue({
vuetify: new Vuetify({
icons: {
iconfont: 'md',
values: {
email: envelopeSvg,
question_circle: questionCircleSvg
}
},
...
})
Update I kind of got the above code working, but now my current issue is the v-icon component renders using the wrong viewbox size.
<font-awesome-icon class="icon" icon="envelope" /> //viewBox="0 0 512 512"
<v-icon class="icon">email</v-icon> //viewBox="0 0 24 24"