-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with the PRO version #427
Comments
There is currently an issue with Kits - #423. Pro packages, like |
If there are problems with the kits then what should be the steps to follow, create the .npmrc file and then install angular-fontawesome? The problem is that if you use the free icons and the PRO icons as I import all of them with
In the same module? |
Pro icon packages include all free icons too, so you don't need to import both Pro and Free. It's enough to import only Pro to get all icons. |
So as the kits don't work I just create the .npmrc file and add the library with ng add @fortawesome/angular-fontawesome@ importing in my project the PRO icons? or are there more steps? |
Those steps should be sufficient. |
Finally I managed to make the PRO icons work with the Angular library for Fontawesome, I leave a commentary of how I did it in case it is helpful for anyone: 1- Create the .nmprc file with the data they give you in the Fontawesome panel to use the token. 2- Install the version of the library for your version of Angular and choose the PRO and Free icons for the Brands. 3- Import into the module as usual. I think the problem was because I tried to use the kits and installed other libraries that were requested in the documentation. |
I bought the PRO version of Fontawesome and I am developing a project with Angular. My problem is that I did everything I found in the documentation but I can only use the free icons.
I am using Angular 16.1.5, in my dependencies I have:
In my module I import the free icons but I can't import the PRO icons.
This is because the PRO icons are exported with the same names and even if I change the free ones for the PRO ones I get an error when trying to compile, it doesn't recognize the 'fas' from @fortawesome/pro-solid-svg-icons, what am I doing wrong? There are not many examples of using PRO icons. I can't add @fortawesome/pro-light-svg-icons and @fortawesome/pro-regular-svg-icons either.
I followed the steps on the "Use Your Kit with a Package Manager" page. And I have my .npmrc file created with my information
Are the kits not usable with @fortawesome/angular-fontawesome 0.13.0? or with any version?
I would appreciate your help.
The text was updated successfully, but these errors were encountered: