Angular is just showing green background, doesn't seem to be picking up Angular component

Runs fine in live server, but just picking up green background set in global style sheet on deployed website
No description
8 Replies
Japemaster Brad
Japemaster BradOP8mo ago
After some more searching, it appears that it's not finding these files listed in uploaded assets, is there a way I can make this visible?
No description
Chaika
Chaika8mo ago
You want to change your Build Output path to include browser, if using Angular I believe you'd want dist/cloudflare/browser Under Settings -> Builds & Deployments -> Build Configurations -> Edit Configuration
Japemaster Brad
Japemaster BradOP8mo ago
I've currently got that set in angular.json and in Cloudflare the name of main seems to be different between the two of them, could this be a git integration issue?
Chaika
Chaika8mo ago
if you changed it, you need to rerun the build. what's the pages.dev?
Japemaster Brad
Japemaster BradOP8mo ago
https://brdlyt.pages.dev/, but I've not had that page working. It's only the custom domain that seems to be showing the background
Chaika
Chaika8mo ago
https://brdlyt.pages.dev/browser/ semi-works but then it 404s on the assets because it's looking for them on root you just need to change your output directory to include browser, ex: dist/cloudflare/browser, rerun the build, assets uploaded should no longer show the browser folder and show everything top level
Japemaster Brad
Japemaster BradOP8mo ago
This is my angular.json file compared with my build configurations in Cloudflare, haven't changed anything, this is what it was on originally
No description
No description
Chaika
Chaika8mo ago
I believe that you don't want to change the angular one, and it should still be dist/cloudflare and then rerun that build otherwise you're just telling angular to push it under another directory all over again
Want results from more Discord servers?
Add your server