Adding icons
It's time to add icons to our navigation. Glyphicons that come with Bootstrap 3 are dropped in Bootstrap 4. Here, we'll use the large library of icons offered by Font Awesome. Other icon font sets can be found around the Web.
Font Awesome is a font icon set that offers 628 icons at the time of writing this book. Font Awesome icons are free, open source, and built to play nice with Bootstrap. You can see the Font Awesome home page at http://fortawesome.github.io/Font-Awesome/.
Let's fold Font Awesome into our workflow.
In Chapter 2, Creating Your Own Build Process with Gulp, you saw to use Font Awesome by loading it from CDN. Here, we compile the CSS code of Font Awesome into our main app.css
file:
First, install Font Awesome in your project folder by running the following command in your console:
bower install font-awesome --save
After that, you can import Font Awesome's main SCSS file into your
scss/app.scss
file:@import "includes/variables"; @import "font...