1- npm install font-awesome --save
2- npm install --save bootstrap
3- In the angular-cli.json file locate the styles[] array and add font-awesome references directory here, like below:
4- nb:ceci est un exemple pour tester fontawesome <i class="fa fa-american-sign-language-interpreting fa-5x" aria-hidden="true"> </i>
5- on peut aussi pour les "scripts bootstrap" introduire le chamin de script dans "script"
"apps": [
{
"root": "src",
"outDir": "dist",
....
"styles": [
"styles.css",
"./node_modules/bootstrap/dist/css/bootstrap.css",
"./node_modules/font-awesome/css/font-awesome.css" // -here webpack will automatically build a link css element out of this!?
],
...
"scripts":[
"chemin/vers/bootstrap/dist/js/bootstrap.min.js"
]
}
]
],