Import bootstrap, jquery in angular project | E-commerce

For import bootstrap, jquery in angular we need to install via npm.

Go to the terminal, type the commands: npm install jquery bootstrap –save

After packages are installed successfully, add the jquery and bootstrap required file path to the angular.json {} file as below picture shown. 

            “styles”: [

              “node_modules/bootstrap/dist/css/bootstrap.min.css”,

              “src/styles.css”

            ],

            “scripts”: [

              “node_modules/jquery/dist/jquery.min.js”,

              “node_modules/bootstrap/dist/js/bootstrap.bundle.min.js”,

            ]

3 thoughts on “Import bootstrap, jquery in angular project | E-commerce”

Leave a Reply

Your email address will not be published. Required fields are marked *