Add dependencies in package.json
npm install --save bootstrap
npm install --save @fortawesome/fontawesome-free
Update angular.json file
"build": {
...
"options": {
...
"styles": [
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.css"
],
"scripts": [
"node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
]
},
Top comments (0)