Skip to content

Angular CLI NG2 404 on fonts files #33

@bgandy94

Description

@bgandy94

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions