Changing theme folder

Hi, I’m using Sage 9 with yarn. I changed the theme name from sage and now when I to try and access an image in css by saying …/images/example.jpg the path is still looking in a folder named sage when I use yarn build, but it works fine when using yarn run start. Any suggestions?


Had to change the publicPath in config.json in resources/assets folder.

Hey @SeanMee86 - where / how did you change the theme name?

My first guess would be that you might need to update one of the values in resources/assets/config.json.

You can do it manually or by rerunning the config step of the installation with this in your theme folder: ./vendor/bin/sage config

(And of course make sure you test after rebuilding your assets with yarn build.)