Material Icons

Adding Icons in your project

There following steps to add Material

  • First of all, you have to edit in app.module file ,which is located in your-project-name\src\app folder.

  • Import following files in app.module file

    import { MaterialIconComponent}  from './material-icons/icons.component';
  • Now open app-routing.module.ts file and import this file.

    import { MaterialIconComponent}  from './material-icons/icons.component';

    After this,add following in routes

    { path: 'icons', component: MaterialIconComponent }

Last updated