Adding Bootstrap To An Angular CLI Project


Before setting this up, you’ll need to have an Angular project to add Bootstrap to. If you’re starting fresh, you can create one easily with ng new <name>.


First, install bootstrap from npm:

Then add the following to the top of your styles.css file:

That’s it! Bootstrap is now enabled for your Angular CLI application.