nuxt-community / fontawesome-module

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

Fontawesome icons not being loaded from pro folder #29

Open gekkedev opened 3 years ago

gekkedev commented 3 years ago

Using Fontawesome Pro I installed the package @fortawesome/fontawesome-pro as their documentation recommends. When using a duotone icon (premium), e.g. stars, I am told by the Nuxt development server to install @fortawesome/pro-duotone-svg-icons. Doing so removes the error message, but I'm not sure if this was really necessary:
I found the desired svg file contained in the only package that the official documentation told me to install: node_modules/@fortawesome/fontawesome-pro/svgs/duotone/stars.svg Is this something I misunderstand, like a missing additional file contained in the other package, or should the extension support loading from the full package as well? It appeared to me that while you're able too install certain styles only, the (currently) recommended package contains all the styles already.
I've seen some documentations suggest that the general package only installs the regular style, but that turned out to be incorrect in my case.