Answers for "angular toast errors"

0

Toast message angular

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ToastrModule } from 'ngx-toastr';

import { RootComponent } from './root/root.component';

@NgModule({
  declarations: [
	RootComponent
  ],
  imports: [
	BrowserModule,
	BrowserAnimationsModule,
	ToastrModule.forRoot()
  ],
  providers: [],
  bootstrap: [RootComponent]
})
export class AppModule { }
Posted by: Guest on April-25-2021

Browse Popular Code Answers by Language