Write your answer…

3 answers

When I update the publicPath to "/", it appears to work (no errors in browser), but the Header.css reference to background: #eee url(/bbaeb5f32b7042f0def39648a1d111b9.png) center - does not work. The header is all grayed out. It appears to me there is a bug with the output in webpack.config.dev.js or it is just not intuitive. I've tried a number of different variations. Also I think it's strange that the png gets put right in the root directory - this seems messy. Would be nice if it were in it's own ignored folder (ie: src).

Hashnode is building a friendly and inclusive dev community. Come jump on the bandwagon!

  • 💬 A beginner friendly place

  • 🧠 Stay in the loop and grow your knowledge

  • 🍕 >500K developers share programming wisdom here

  • ❤️ Support the growing dev community!

Register ( 500k+ developers strong 👊)

change the port in server/config.js or better still remap it with docker e.g. -p 80:8000

I have done as you have suggested and still having problems. See screen shot: http://prnt.sc/dwuz9e

Reply to this…

Try changing the publicPath on webpack.config.dev.js and port on server/config.js to your desired port.

I have done as you have suggested and still having problems. See screen shot: http://prnt.sc/dwuz9e

Reply to this…