andreypopp / andreypopp/react-fa

Failed to decode downloaded font

Đang mở
#50 4 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
486
Fork
42
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.