andreypopp / andreypopp/react-fa

Failed to decode downloaded font

Offen
#50 4 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
486
Forks
42
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.