bootstrap icons in angular

62

$ npm i bootstrap-icons --save

Then add this line to your styles.css file:
@import "~bootstrap-icons/font/bootstrap-icons.css";
import { library } from '@fortawesome/fontawesome-svg-core';
import { fas } from '@fortawesome/free-solid-svg-icons';
import { far } from '@fortawesome/free-regular-svg-icons';
library.add(fas, far);

Comments

Submit
0 Comments