I tried to implement your library in an Angular 4 Project.
I installed the npm package as you suggested.
The issue is import Titanic from 'titanic-icons'; doesn't work. Error : [ts]Cannot find module 'titanic-icons'.
I tried import Titanic from 'titanic-icons/dist/js/titanic.min';
and
ngOnInit(): void {
this.titanic = new Titanic({
hover: true, // auto animated on hover (default true)
click: false // auto animated on click/tap (default false)
});
}
Neither the import nor the compilation throw me any errors.
However the icon doesn't appear as expected.
Could you please provide Angular implementation example ?
I tried to implement your library in an Angular 4 Project.
I installed the npm package as you suggested.
The issue is
import Titanic from 'titanic-icons';doesn't work. Error :[ts]Cannot find module 'titanic-icons'.I tried
import Titanic from 'titanic-icons/dist/js/titanic.min';and
Neither the import nor the compilation throw me any errors.
However the icon doesn't appear as expected.
Could you please provide Angular implementation example ?