Open Triyugi opened 7 years ago
Followup of #77
In fact, I am not able to access resources like, images. Image path comes correctly as http://localhost:3000/img/img1.png
but its not showing in browser.
I think issue is with webpack publickpath
.
When I am using <img src={require('/images/image-name.png')} />
, its working fine. But I don't want to do that because its very heavy codebase and also I think its not a nice solution.
In chrome Network tool, image type is coming as text/html
.
When I am running code in browser, getting error:
bundle.css
status failed.webpack.config.js
is:server.js
file content is as follows:package.json
is as follows:Site is loading but some css are not loading. Console throw error: