Skip to content

Instantly share code, notes, and snippets.

@yigitfindikli
Last active May 16, 2021 17:19
Show Gist options
  • Save yigitfindikli/06a5d8db1d4fb0d0c163cff617a58cf1 to your computer and use it in GitHub Desktop.
Save yigitfindikli/06a5d8db1d4fb0d0c163cff617a58cf1 to your computer and use it in GitHub Desktop.
PrimeNG-Colors
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { AppComponent } from "./app.component";
// Import PrimeNG modules
import { ButtonModule } from "primeng/button";
import { SidebarModule } from "primeng/sidebar";
import { RippleModule } from "primeng/ripple";
import { InputTextModule } from "primeng/inputtext";
import { InputTextareaModule } from "primeng/inputtextarea";
import { ToastModule } from "primeng/toast";
import { MessageService } from "primeng/api";
@NgModule({
imports: [
BrowserModule,
FormsModule,
BrowserAnimationsModule,
ButtonModule,
SidebarModule,
RippleModule,
InputTextModule,
InputTextareaModule,
ToastModule
],
declarations: [AppComponent],
bootstrap: [AppComponent],
providers: [MessageService]
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment