I followed the steps that are described in the readme file of this repository, but there was a missing import that prevented me from using the icon set that your repository provides.
When I tried to include the icon component in one of my application's templates, I got the following error:
Snapshots of my files
Here's a snapshot of my src/app.component.ts file.
And here's a snapshot of the icons object that I provided:
Problem
I followed the steps that are described in the readme file of this repository, but there was a missing import that prevented me from using the icon set that your repository provides.
When I tried to include the icon component in one of my application's templates, I got the following error:
Snapshots of my files
Here's a snapshot of my
src/app.component.ts
file.And here's a snapshot of the icons object that I provided:
Here are the versions of my current setup tools:
How I was able to solve it
I was able to resolve this by adding the
IconModule
to the imports array of myapp.module.ts
file, like this:Suggestions
I think you should clarify things in your readme file about the missing import for the IconModule.
I would be glad to provide any information that you could use to resolve this.