andreypopp / andreypopp/react-fa

Failed to decode downloaded font

Open
#50 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
486
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Im using webpack to compile my application.
When im using react-fa the server is always sending the index.html page and thats why the parsing fails i guess.
![image](https://cloud.githubusercontent.com/assets/9406772/21519774/0c7efc32-ccf0-11e6-97d6-16439942ea3f.png)

I have also tried to write the absolute public path to `http://localhost:3000/`. Though i get the same result. No FontAwesome. I looked into the css and the fontpath is still relative. Idk if this matters.
![image](https://cloud.githubusercontent.com/assets/9406772/21519837/69501bee-ccf0-11e6-963d-62311906f230.png)

I do have the configuration of the [react-boilerplate](https://github.com/mxstbr/react-boilerplate/tree/master/internals/webpack). The production build is working fine though.

I have also tried the `extract-text-webpack-plugin` described in your readme. Still the same result. Am i doing something wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.