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 NG2 404 on fonts files #33

Open
bgandy94 opened this issue Apr 20, 2017 · 0 comments
Open

Angular CLI NG2 404 on fonts files #33

bgandy94 opened this issue Apr 20, 2017 · 0 comments

Comments

@bgandy94
Copy link

So currently I have included font-awesome and angular2-fontawesome in my package.json
I have included references to their source files in my angular-cli.json file like mentioned in the README.

However, when I run ng build it outputs all of the font-awesome fonts files directly out into the dist directory, so in the font-awesome.css file when it tries to reference these files like so src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); it doesn't work properly because all of the fonts files are in the same directory (ie, their not put in their own fonts folder.)

Has anyone ran into this before? Or am I doing something wrong?

Thanks in advance for your time

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

1 participant