Sharing Top Content from the Angular-sphere.

Using PrimeNG themes with angular apps

  • Instead of creating our own css we are using primeNG themes with angular apps.
  • Now we are simply going to add the styling to make our previous app beautiful.
  • As soon as you create an angular app using angular cli, a json file named angular-cli.
  • We are done using primeng themes in angular app.
  • I hope this article helped understand using primeng themes with angular apps.

This article explains the necessary configuration for using primeng themes with angular apps and include them for beautiful looking UI

@wiwer77: Using PrimeNG themes with #AngularJS apps – #NodeJS

We have used primeNG UI library in previous article. We need to make app beautiful to enhance user experience. Instead of creating our own css we are using primeNG themes with angular apps.

Please note that it is necessary to have primeng configured for your app. Previous article explains how to do it. Now we are simply going to add the styling to make our previous app beautiful.

As soon as you create an angular app using angular cli, a json file named angular-cli.json is created. It has all the configuration information. When we install primeNG, we also get some themes which are located in /node_modules/primeng/resources/themes directory.

Open your angular-cli.json and add below lines to it.

We are done using primeng themes in angular app. Other files are same as that of previous article hence not mentioned specifically.

Using PrimeNG themes with angular apps

Comments are closed, but trackbacks and pingbacks are open.