▶️To install bootstrap package to your angular project, follow these steps :
1. To add bootstrap to your angular project, go to the link above(https://www.npmjs.com/) and there type bootstrap in search package, thereafter u will get all the details including command to install that new feature/package to your angular project,steps are :
2. Add these lines of code to your angular.json file in styles section of angular.json file :
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.css"
]
3. After that make sure to restart the application in order to make sure that these packages are installed in your angular project.
Command to restart your project:
ng serve

August 18, 2026 28