We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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'.
import Titanic from 'titanic-icons';
[ts]Cannot find module 'titanic-icons'
I tried import Titanic from 'titanic-icons/dist/js/titanic.min'; and
import Titanic from 'titanic-icons/dist/js/titanic.min';
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 ?
The text was updated successfully, but these errors were encountered:
Having a similar issue using React.
I noticed in the package.json the main file isn't included in the ~/dist folder. From the line "main": "dist/index.html"
package.json
~/dist
"main": "dist/index.html"
I tried converting the source over to a React component, but having all sorts of TypeError issues.
Sorry, something went wrong.
No branches or pull requests
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 ?
The text was updated successfully, but these errors were encountered: