install boostrap in angular code example
Example 1: install angular bootstrap
npm install --save bootstrap
npm install --save jquery
Example 2: how to add bootstrap in angular
@import "~bootstrap/dist/css/bootstrap.css"
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.css",
"src/styles.css"
],
Example 3: installing bootstrap in angular 9
ng add @ng-bootstrap/ng-bootstrap
Example 4: installing bootstrap in angular 9
.... "styles": [ "node_modules/bootstrap/dist/css/bootstrap.min.css", "src/styles.css" ], "scripts": [ "node_modules/jquery/dist/jquery.min.js", "node_modules/bootstrap/dist/js/bootstrap.min.js" ].....