I have a icon.svg file which has collection of icons. I want to use them in my app , as we show material icons.
Any idea how to include the file in app and use them ?
I have tried solution from :
Custom font import in Angular4
how to generate webfont from SVG icons in angular
But i am not able to show the icon.
Here is how i want to use the icons :
<span class="icon-home"></span>
then it should show the home icon. I am also ready to use css as shown in some tutorial
.icon-home:before
{
content: "\e900";
}
Can somebody please make me understand how it works?