Answers for "how to use font awesome in v-icon nuxt"

1

how to use font awesome in v-icon nuxt

//~/plugins/icons.js
import '@fortawesome/fontawesome-free/css/all.css'
import Vue from 'vue'
import Vuetify from 'vuetify'

Vue.use(Vuetify, {
  iconfont: 'fa'
})


//Add this to your plugins in nuxt.config.js
{ src: '~/plugins/icons.js', ssr:false }
Posted by: Guest on September-23-2020

Code answers related to "how to use font awesome in v-icon nuxt"

Browse Popular Code Answers by Language