Add bootstrap to angular

rishiabee

Rishi

Posted on April 22, 2020

Add bootstrap to angular

Step 2. Add Bootstrap to Angular Using angular.json

Open the angular.json file of your project and include:

            "styles": [
              "./node_modules/bootstrap/dist/css/bootstrap.css",
              "src/styles.css"              
            ],
            "scripts": [
              "./node_modules/jquery/dist/jquery.js",
              "./node_modules/bootstrap/dist/js/bootstrap.js"
            ],

Step 1. Install Bootstrap & Jquery using NPM

 $ npm install --save bootstrap
 $ npm install --save jquery

OR

Step 1. Install Bootstrap & Jquery using Yarn

 $ yarn add bootstrap
 $ yarn add jquery
💖 💪 🙅 🚩
rishiabee
Rishi

Posted on April 22, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Add bootstrap to angular
bootstrap Add bootstrap to angular

April 22, 2020