Bootstrap Integration

To Integrate bootstrap in angular project you need to follow below steps..

Step 1

Go to official website of bootstrap and click on Download button.

You can click on below link for the same. This link will redirect to download section of bootstrap official website:

and go to Package managers and see the npm “Install Bootstrap in your Node.js powered apps with the npm package”.

And run the npm command in your angular app terminal.

npm install bootstrap

Step 2 :

After installation bootstrap, check in your angular app.

Go to node_modules directory of your angular app and see bootstrap directory. It contains css and js files in dist folder.

Step 3 :

Go to official website of jquery and download latest jquery library. You can click below link for the same

And upload this file in folder node_modules/bootstrap/dist/js.

Step 4 :

Now add the reference of css and js file of bootstrap and js file of jquery in angular.json file for angular app.

Add bootstrap.mis.css in side bulid -> options -> Styles

Like :


Add bootstrap.min.js in bulid -> options -> Styles



Add jquery.min.js in bulid -> options -> Styles



"build": {
      "builder": "@angular-devkit/build-angular:browser",
      "options": {
        "outputPath": "dist/Sahosoft",
        "index": "src/index.html",
        "main": "src/main.ts",
        "polyfills": "src/polyfills.ts",
        "tsConfig": "src/",
        "assets": [
        "styles": [
        "scripts": [
      "configurations": {
        "production": {
          "fileReplacements": [
              "replace": "src/environments/environment.ts",
              "with": "src/environments/"
          "optimization": true,
          "outputHashing": "all",
          "sourceMap": false,
          "extractCss": true,
          "namedChunks": false,
          "aot": true,
          "extractLicenses": true,
          "vendorChunk": false,
          "buildOptimizer": true,
          "budgets": [
              "type": "initial",
              "maximumWarning": "2mb",
              "maximumError": "5mb"