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

Angular CLI font path unresolved when deployed #169

Closed
Lasher opened this issue Apr 1, 2019 · 0 comments
Closed

Angular CLI font path unresolved when deployed #169

Lasher opened this issue Apr 1, 2019 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Lasher
Copy link

Lasher commented Apr 1, 2019

Hi,
I'm using Angular CLI 7.3.6,
primeicons 1.0.0

When i deploy my project, meaning, files are referenced to 'dist' folder
the primeicons fonts are not found.

After some digging, i found that the font path in primieicons.css file is causing the problem

for example:
the original css font path is:
@font-face {
font-family: 'PrimeIcons';
src: url('fonts/primeicons.eot');
....... }

when i modified the src path to:
{ ...
src: url('./fonts/primeicons.eot');
... }

the font file was found !

For now, i have changed all the font's references accordingly.
Please address this issue and fix the font references.

Thanks

@onursenture onursenture changed the title angular cli font path unresolved when deployed Angular CLI font path unresolved when deployed Jul 11, 2019
@onursenture onursenture added the bug Something isn't working label Jul 11, 2019
@onursenture onursenture added this to the 2.0 milestone Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants