Adding Bootstrap To An Angular CLI Project

Pre-Reqs

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>.

Procedure

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.