

Remember from Angular 6 onwards, the Angular CLI configuration file is renamed to angular.json from angular-cli.json. In order to register bootstrap file, we need to include the path of Bootstrap CSS file in the styles array. Open package.json file of your application and then check for bootstrap and JQuery and you should find these in the dependencies section of the package.json file as shown in the below image. You can also verify whether bootstrap is installed on your project within the package.json file. You can find the following JQuery folder structure inside the node_modules folder. JQuery Folder structure inside node_modules folder: You can find the following bootstrap folder structure inside the node_modules folder. Bootstrap Folder structure inside node_modules folder: If you do not find the bootstrap and JQuery folder within the node_modules folder, then please restart visual studio code and you should find it. Once you press the enter button, it will take some time to install both bootstrap and JQuery into the node_modules folder. As Bootstrap have dependency on Jquery, so the below NPM command will install both Bootstrap and Jquery. So, open visual studio code terminal window or you can even use windows command prompt and then navigate to the project folder and type npm jquery –save command and press the enter button as shown in the below image. In order to intstall bootstrap, you need to use the following NPM command Once you created the angular application,then we need to install bootstrap and the required JQuery files. Create a new Angular 9 project using Angular CLI and Visual Studio Code. Now we will see how to install bootstrap in angular application. As we know Bootstrap is one of the popular CSS framework which is used to build stylish and modern applications, which has HTML, CSS and JavaScript libraries. Data Structures and Algorithms Tutorialsīootstrap is an open-source repository that provides a couple of native angular widgets which are built using Bootstrap 4 CSS.
