Open JuHwon opened 7 years ago
When i am building and starting the app for production once.. it works. Even if i remove the build folder after it. Though it does not work when i have a new project clone.
I'm not sure how to help here, if you are using react-boilerplate — consider creating an issue there. If you put a repo somewhere with clear steps described on how to reproduce the issue — then I can help.
i have created a new project with the failure now. You can see the missing font on the frontpage.
i do not know whats wrong with my config :/ i have also added publicPath: 'http://127.0.0.1:3030/',
to my webpack dev configuration.
Just clone the project and type npm install && npm start
and you will see.
@andreypopp does someone have a hint what i can do/try?
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.
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.I do have the configuration of the react-boilerplate. 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?