Angular 2 - PrimeNg style not working
I resolve my problem by remove rel="stylesheet" type="text/css"
from index.html and also added below imports to styles.css :
@import '~primeicons/primeicons.css';
@import '~primeng/resources/themes/nova-light/theme.css';
@import '~primeng/resources/primeng.min.css';
I found a tutorial that uses PrimeNg with Angular CLI that worked for me.
I added the font-awesome.min.css
stylesheet to index.html.
Then the theme I wanted (e.g. "../node_modules/primeng/resources/themes/omega/theme.css",
) to angular-cli.json file in the "styles" [...]
section.