I included some styles in angular.json styles array like below:
"styles": [
"src/styles.css",
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/themes/omega/theme.css",
"node_modules/primeng/resources/themes/bootstrap/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/font-awesome/css/font-awesome.css"
]
but its not picking styles, as i cant see primeng table styling and other styles. although it works fine if i import styles in my styles.css file like below:
@import '../node_modules/primeng/resources/themes/omega/theme.css';
@import '../node_modules/primeng/resources/themes/bootstrap/theme.css';
@import '../node_modules/primeicons/primeicons.css'
i believe any of the above methods we can use, let me know if this is not correct.
i also restarted ng serve multiple times.
Any help is appreciated. thanks in anticipation.
I am using angular 6 as its obvious from angular.json, also let me know if any other code or info has to be shared.