Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49238

Problem with css in pwa ionic-angular

$
0
0

I’ve a new pwa app created with ionic and angular (standalone).
Ionic 7.1.1 - Angular 17.0.2
If I run it with ionic serve it’s all ok. If I run it with http-server ( http-server -c-1 www) i’ve css problems.
For test i’ve created a new class in global.scss.
I can see the class in style.css created with “build --prod”.
Inspecting the button I see the class but it doesn’t apply it. Does anyone have any idea how to figure out the problem?


This is the screen of inspection on chrome browser.

Thanks!
Monica

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49238

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>