Add bootstrap to angular
Rishi

Rishi @rishiabee

About: Computer Science is evolving so fast... I'm eternally a student. Here're some of my notes.

Location:
Mauritius
Joined:
May 11, 2019

Add bootstrap to angular

Publish Date: Apr 22 '20
9 0

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

Comments 0 total

    Add comment