Working from this template to build a react website with smart contract interactions, I was able to get everything running and appearing smoothly on localhost
. All site features worked and images rendered properly, but after building and deploying via npm
, the gh-pages site does not appear to have found my image and JS components.
I've tried editing the homepage
as seen here, to no avail. I've also gone through the index.html
file and tried messing with the scr
locations. I'm not sure what's going wrong, and I'm very new to all of this, so any help is appreciated!
Edit: Based on comments here, I've updated the relative paths for all images. This fixed the image display issue for some but not all images. CONFIG
items are still broken in deploy, even though they work fine on localhost