Hey guys,
So I have a sage9 theme set up in bedrock. When I try running yarn start, localhost:3000 opens in my browser and the html and content loads but no CSS.
This also happens when I run yarn build.
When I run yarn build:production it works perfectly as expected and builds fine.
Something else I have noticed that is odd. running yarn start or yarn build and I go to inspect it tells me actual css / js files are loading:
GET http://localhost:3000/app/themes/bcs/dist/styles/main_ebcbcce8.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/app/themes/bcs/dist/styles/main_ebcbcce8.css net::ERR_ABORTED 404 (Not Found)
This makes me think that it isn’t injecting the css via the javascript here as it should be and is just trying to load as if I had just ran build:production when I am not running that.
I have checked config paths and everything is fine. I have also tried looking in different browsers and clearing cache.
Any help would be greatly appreciated.
Thanks!