Skip to content
New issue

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

Cant add eva icons in angular 8 #73

Open
hardeeksharma opened this issue Jul 27, 2019 · 2 comments
Open

Cant add eva icons in angular 8 #73

hardeeksharma opened this issue Jul 27, 2019 · 2 comments

Comments

@hardeeksharma
Copy link

Getting error Cannot resolve definitions for module 'eva-icons' on import * as eva from 'eva-icons'; in app-component.ts after installing via npm i have also added the <script src="https://unpkg.com/eva-icons"></script> in the index.html

@DavidEspinosa42
Copy link

Angular ignores script tags.
I was able to use eva-icons as as web font by adding it to my styles array on the angular.json file.

"styles": [ "node_modules/bootstrap/dist/css/bootstrap.css", "node_modules/eva-icons/style/eva-icons.css", "node_modules/pace-js/templates/pace-theme-flash.tmpl.css", "src/styles.scss" ]

@hardeeksharma
Copy link
Author

Ok. i ll try this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants