I have installed the latest version of Sage using the Bootstrap preset and activated the theme. When I run yarn start my styles are not .injected. I get an error in the console:
Uncaught SyntaxError: Unexpected token <
This references line 1 of my webpage
I then tried yarn build and my stylesheet is created in the dist folder. However, the browser doesn’t load the stylesheet. I checked the source code of the page and clicked the link to the stylesheet but I get redirected to the homepage.
I then ran build:production and the page loaded the stylesheet.
Very confused as to what might be happening here if anyone can help?