Getting Started With PrimeNG Styling in Angular App This chapter we are going to check how you can add PrimeNG card component to show available flowers in the stock. Before styling the app, I have added some images of flowers to our assets folder as below. In app.module.ts file you can import PrimeNG Card module as below. import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { LandingComponent } from './modules/landing/landing.component'; import { HomeComponent } from './modules/home/home.component'; import { CardModule } from 'primeng/card'; ; @NgModule({ declarations: [ AppComponent, LandingComponent, HomeComponent ], imports: [ BrowserModule, AppRoutingModule, CardModule, ], provider...
Here are some original articles, where you can find latest content on Angular, React Native, Java, HTML/CSS, AS400, DB2 and JavaScript. Since its founding in 2009, we’ve grown from an exhaustive source for consumer tech information on latest trends. Want to get more? We are here to help you.
Comments
Post a Comment