Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

fontawesome angular

//2021: INSTALL IT IN ANGULAR 1ST
npm i font-awwsome
// in angular.json add in the 'build' section the following lines in 'styles' and 'scripts'
"styles"[
              "node_modules/@fortawesome/fontawesome-free/css/fontawesome.css"
]
Source by es.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fontawesome #angular
ADD COMMENT
Topic
Name
4+5 =