#Css in Vercel isn't working

20 messages · Page 1 of 1 (latest)

surreal matrix
#

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" ],

vast sail
#

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

vast sail
#

my angular.json

#

my styles.css

#

everything else is in their on component css

#

and it's working, except for the homepage css

surreal matrix
#

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?

vast sail
#

but i have nothing extra installed

#

the only thing that i have is like the fa fa icons in body.component.html

#

so

#

im using a extension and it looks like some properties are unknown

#

idk if its something related to

vast sail
#

i think i found the problem