i'm guessing those styles aren't "in" your component styles, but come from a third party package? do you have them listed in your angular.json "styles" section? like
"styles": [ "node_modules/primeng/resources/themes/saga-blue/theme.css", "node_modules/primeng/resources/primeng.min.css", "node_modules/primeicons/primeicons.css", "node_modules/bootstrap/dist/css/bootstrap.min.css", "src/styles.scss", "node_modules/ngx-toastr/toastr.css", "src/assets/fonts/font-file.scss", "node_modules/ngx-spinner/animations/ball-atom.css", "src/assets/AzureMediaPlayer/azuremediaplayer.min.css" ],
#Css in Vercel isn't working
20 messages · Page 1 of 1 (latest)
so should i add my components file to the json? cuz what im doing right now is, im simply creating components and calling them at app.component.html
should i do something simmilar to this
but why some of the body component is working and other not? look:
both are on the body css component
That's what i've been doing
my angular.json
my styles.css
everything else is in their on component css
and it's working, except for the homepage css
no need to list the css of your components in there, just the src/styles.css and installed package css/external css
can you see the pink-bluegrey.css in your dist after ng build?