buildModules: [
// https://go.nuxtjs.dev/typescript
'@nuxt/typescript-build',
['@nuxtjs/fontawesome',{
component: 'fa',
suffix: true,
},],
],
fontawesome: {
icons: {
solid: ['faHome'],
regular: ['faUserSecret'],
brands: ['faGithub'],
}
},
<fa :icon="['fab', 'github']"/>
I tried to followed all the step as mentioned here: https://www.npmjs.com/package/@nuxtjs/fontawesome
My
nuxt.config.jsMy usage of the component
Expected outcome:
Works out of the box
Actual Outcome:

App crashes with the following error on the console