how to include font awesome in angular project code example
Example 1: font awesome install in angular
npm install --save font-awesome angular-font-awesome
import { AngularFontAwesomeModule} from 'angular-font-awesome';
imorts[
.../
AngularFontAwesomeModule,
],
Example 2: how to get fas icons in angualr
import { library } from '@fortawesome/fontawesome-svg-core';
import { fas } from '@fortawesome/free-solid-svg-icons';
import { far } from '@fortawesome/free-regular-svg-icons';
library.add(fas, far);