Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230801

Successful FontAwesome production build?

$
0
0

I ended up going Angular 9. It was a battle.

As far as Fontawesome goes though, I ended up putting all my required icons in a provider which I use across all pages.

import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';

import {

  faTruck, faHome, faMoneyCheckAlt .....
}
constructor(library: FaIconLibrary) {
    library.addIcons(faTruck, faHome, faMoneyCheckAlt ......

<fa-icon [icon]="['fas', 'home']"></fa-icon>


Viewing all articles
Browse latest Browse all 230801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>