andreypopp / andreypopp/react-fa

Failed to decode downloaded font

Aperta
#50 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
486
Fork
42
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.