[Fixed] Date-picker styles not working after production build in Angular 4


recently I created a build of my Angular5 app in which I used ngx-bootstrap to show datepicker and modals. It was working very well before production, but after production, build seems like it lost its styling.

please check attached image…

enter image description here

I followed all the implementation steps again, but nothing worked.

Please help to resolve this issue. Thank you so much.


Finally, I found a solution.

I just added ngx-bootstrap CSS into angular-cli.json


"styles": [

and it worked for me. Thanks for attention.

Leave a Reply

(*) Required, Your email will not be published