I am trying to use bootstrap glyphicons in my angular2 app. I have installed bootstrap using the command npm install bootstrap --save My code snippet is
From https://www.w3schools.com/bootstrap4/bootstrap_icons.asp -
Bootstrap 4 does not have its own icon library (Glyphicons from bootstrap 3 are not supported in BS4). However, there are many free icon libraries to choose from, such as Font Awesome and Google Material Design Icons. To use Font Awesome icons, follow these steps:
Install Font-Awesome from the terminal in your project folder
npm install --save font-awesome
and add the following line to your main stylesheet -
@import "~font-awesome/css/font-awesome.css";
You can now access all the icons available in the installed Font-Awesome library. Refer this link for the complete list of icons - Official Font Awesome Website