Import bootstrap, ng-bootstrap and font-awesome in angular app

Reading Time: < 1 minutes

Loading

1) yarn add bootstrap @ng-bootstrap/ng-bootstrap font-awesome

yarn add bootstrap @ng-bootstrap/ng-bootstrap font-awesome

2) In style.scss, import bootstrap and font-awesome

@import "~bootstrap/scss/bootstrap";
$fa-font-path : '../node_modules/font-awesome/fonts';
@import "~font-awesome/scss/font-awesome";

4) type ng serve to launch application in development mode. Index page should open at url http://localhost:4200.

ng serve