andreypopp / andreypopp/react-fa

Failed to decode downloaded font

Abierto
#50 4 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
486
Forks
42
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.