Basic Install

Post Reply
Posts: 2
Joined: 17 Apr 2019, 00:19

17 Apr 2019, 01:33

I just purchased this but am having issues installing it. None of the elements are styled. It seems like the theme stylesheet isn't complete for example the layout-green.css is missing the .ui-inputtext class that styles all my text inputs.

This is what I have done:

Unzipped archive copied everything (except demo) from the barcelona-ng-7.0.0/src/assets folder into my-project/src/assets
Edited my angular.json file with the following:
"styles": [

If I change the layout-green.css line to "node_modules/primeng/resources/themes/nova-light/theme.css" it works, but not with the them I just bought.

Please help!

Posts: 583
Joined: 12 Sep 2017, 10:44

26 Apr 2019, 08:51

Layout files are needed for the layout color for example; topbar color. You need to add theme stylesheet file for input and other components. You can see theme files in src/assets/theme/theme-*.scss

Post Reply

Return to “Barcelona - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest