Open Closed

Issue Integrating fontawesome pro #8723

sumitshah created

Hi Team,

We have acquired license for Fontawesome pro and trying to configure the same in the aspnetzero application. We are using angular 8 - .netcore version(aspnetzero 7.2)

Below are the steps we have followed so far:

  1. Created an .npmrc file in the root directory of the host project where we have the package.json file and added the below lines along with valid token: @fortawesome:registry= //
  2. Next installed the latest version of fontawesome using yarn yarn add @fortawesome/fontawesome-pro
  3. Verified the package.json and the fortawesome version is the latest i.e. 5.13
  4. In the angular.json added the below line below the metronic theme "node_modules/@fortawesome/fontawesome-pro/css/all.css",
  5. Later in one of the component.html file tried using/ adding an icon from the font awesome pro version <i class="fal fa-camera"></i>

We are unable to see the icon on the UI, inspecting the element it seems it is still using the metronic class from the vendor.bundle.css

Could you please help me out with this as we are stuck with this and we need to implement some pro icons in our application.

5 Answer(s)
  • 0
    demirmusa created

    Hi @sumitshah That might be same issue. Can you please check that

  • 0
    sumitshah created

    Hi demirmusa,

    Thank you for the reply but the link is giving me 404 - Page not found error.

  • 0
    maliming created

    hi sumitshah

    You can invite anyone to become a member of the ASP.NET Zero organization using their GitHub username. And they can access the ASP.NET Zero private GitHub repositories.

  • 0
    sumitshah created

    Getting the below error after trying to login

  • 0
    ismcagdas created

    Hi @sumitshah

    You should login with your license owner's user or ask him/her to do it for you. (username: Jayesh)