![]() Very details steps with proper explanation. Install bootstrap using npm follow Method 2 in method 3 we just set path inside index.html file instead of angular.json fileįor below detail steps and working example, you can visit Note: Don't change a sequence of js file it should be like this ![]() Open angular.json this file are available on you angular directory open that file and add the path of bootstrap, jquery, and popper.js files inside styles and scripts path see the below example "styles": [ Now Bootstrap is Install on you Project Directory inside node_modules Folder ![]() I recommended you following 2 methods that are installed bootstrap using npm because its installed in your project directory and you can easily access itĪdd Bootstrap, Jquery and popper.js CDN path to you angular project index.html fileġ) Install bootstrap using npm npm install bootstrap -saveĪfter the installation of Bootstrap 4, we Need two More javascript Package that is Jquery and Popper.js without these two package bootstrap is not complete because Bootstrap 4 is using Jquery and popper.js package so we have to install as wellĢ) Install JQUERY npm install jquery -saveģ) Install Popper.js npm install popper.js -save ![]() There is three way to include bootstrap in your projectĢ) Install bootstrap using npm and set path in angular.json Recommendedģ) Install bootstrap using npm and set path in index.html file Install bootstrap 4 in angular 2 / angular 4 / angular 5 / angular 6
0 Comments
Leave a Reply. |