I've followed the instruction to install primeng by running npm install primeng --save
then importing what I need in the app.module.ts
file, for example:
import {CheckboxModule} from 'primeng/primeng';
...
imports: [
CheckboxModule,
],...
I then add the style sheets to the index.html file:
<head>
...
<link rel="stylesheet" type="text/css" href="../node_modules/primeng/resources/themes/omega/theme.css" />
<link rel="stylesheet" type="text/css" href="../node_modules/primeng/resources/primeng.min.css" />
<link rel="stylesheet" type="text/css" href="../node_modules/font-awesome/css/font-awesome.min.css" />
</head>
My IDE can find the file location (by holding ctrl and clicking on the href value) but it is not found by the browser (404 error).
I've copied the checkbox example (http://www.primefaces.org/primeng/#/checkbox) and added it to one of my components but the style is the same as a normal checkbox.
Also, no other errors are thrown.
Should the styles be added to another file? I'm not sure why it's not working.