nuxt-community / fontawesome-module

Module to use Font Awesome icons in Nuxt.js
MIT License
110 stars 12 forks source link

Unknown custom element: <font-awesome-icon> #11

Closed VadimCeretean closed 4 years ago

VadimCeretean commented 4 years ago

Unknown custom element: font-awesome-icon - did you register the component correctly? For recursive components, make sure to provide the "name" option.

how can i fix it?

Tjark-Kuehl commented 4 years ago

I've got the same problem when I put the fontawesome configuration outside the buildModules item. But when it's inside like so

[
    '@nuxtjs/fontawesome',
    {
        icons: {
            solid: ['faBars'],
            regular: [],
            light: [],
            duotone: [],
            brands: []
        }
    }
]

it workes perfectly

pimlie commented 4 years ago

Thanks for the report, fixed in v1.1.2