This is what I've done on my existing cli project (read on https://www.primefaces.org/ultima-ng/#/documentation):
- copied the assets folder,
- added this styles:
Code: Select all
"styles": [
"../node_modules/primeng/resources/primeng.min.css",
"../src/assets/theme/theme-indigo.css",
"../src/assets/layout/css/layout-indigo.css",
"styles.css"
],
Then:
Code: Select all
<div class="ui-g-12">
<span class="md-inputfield">
<input type="text" autocomplete="off" class="ui-inputtext ui-corner-all ui-state-default ui-widget">
<label>Username</label>
</span>
</div>
It's working fine on a fresh downloaded, installed and served ultima project, so I guess I miss an import or something.
I use node 8.6.0, angular 4.2.4 and angular/cli 1.4.4 and ultima 4.3.0.
Tested on xubuntu 16.04, Chrome Version 61.0.3163.100 (Official Build) (64-bit) and Firefox 55.0.2 (64-bit).