Answers for "nuxt js font awesome"

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

Browse Popular Code Answers by Language