Why this isn't a duplicate of FontAwesome SVG icons with Vuetify - how to use within v-icon/prepend-icon?
That question shows how to add another icon and output it in your component by manually referencing it, whereas this question refers to the changing of the icons in the prebuilt components of Vuetify to SVG icons without the need to do any manual overriding in your Vue components, like the data-table's paginator.
I'm trying to use the SVG icons of font-awesome in a Vue project with Vuetify, I've followed the guide of installing the SVG font package on the Vuetify installation page here
https://vuetifyjs.com/en/customization/icons#install-font-awesome-svg-icons
By only including the config they specify which is:
export default new Vuetify({
icons: {
iconfont: 'faSvg',
},
})
Icons simply get displayed as text in components, examples:
Search Icon
Footer of a data-table
The main problem is that it should change the prebuilt component's icons as far as I understand it otherwise you would need to manually specify the components icons each time you use it.
My full Vuetify setup file
import Vue from "vue"
import Vuetify from "vuetify"
import { library } from "@fortawesome/fontawesome-svg-core"
import { fas } from "@fortawesome/free-solid-svg-icons"
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"
Vue.component("font-awesome-icon", FontAwesomeIcon)
library.add(fas)
Vue.use(Vuetify)
export default new Vuetify({
icons: {
iconfont: "faSvg",
},
})