Adding Bootstrap to Angular projects.

Manthan Ankolekar - Nov 20 '22 - - Dev Community

First Install bootstrap using CLI command :

npm install bootstrap
Enter fullscreen mode Exit fullscreen mode

Next add these in angular.json :

"scripts": [
    "./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
],
"styles": [
    "./node_modules/bootstrap/dist/css/bootstrap.min.css"
],
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .