FortAwesome / Font-Awesome

The iconic SVG, font, and CSS toolkit
https://fontawesome.com
Other
73.43k stars 12.19k forks source link

Bug: vueJS fontawesome needs a complete re-write. #19306

Open StevenInc opened 1 year ago

StevenInc commented 1 year ago

Bug description

Honestly, I don't know what you are doing with the licensing fee you collected from me I pay that fee so that I can quickly integrate your library, but instead I spend a complete day reading your source code and figuring out how to use paid libraries in a vueJS 2.x application.

For example: When importing the bars from the pro-regular-svg-icons library: import { faBars as farBars} from '@fortawesome/pro-regular-svg-icons'; The documentation describes the font component as:

This is incorrect as viewed in the source code: var prefix = 'far'; var iconName = 'bars';

the code that works is predictably:

but oddly enough the string definition doeson't work at all

This is obviously on of hundreds of inaccurate documentation pages.

Reproducible test case

No response

Screenshots

Screen Shot 2022-09-02 at 6 59 22 PM Screen Shot 2022-09-02 at 6 58 28 PM

Font Awesome version

v6.0.02

Serving

Kit

Implementation

SVG+JS

Browser and Operating System

terminal

Web bug report checklist

  • [X] I have included a test case because my odds go way up that the team can fix this when I do
  • [X] I have searched for existing issues and to the best of my knowledge this is not a duplicate
tagliala commented 1 year ago

@mlwilkerson @jasonlundien any chance to move this issue to https://github.com/FortAwesome/vue-fontawesome and provide an answer? thanks!