plauzul / ng2-izitoast

MIT License
19 stars 8 forks source link

how to import Ng2IzitoastService into component? #16

Open naivedeveloper95 opened 5 years ago

naivedeveloper95 commented 5 years ago

constructor(private router: Router, private auth: LoginService, private toastr: ToastrService, public toast: Ng2IzitoastService) { }

My angular vesrion is: 6.0.8 Added in app.module.ts and anhular.json following your npm documentaion. Installation process:

image

Here, I should be able to import Ng2IzitoastService for it work in the component. How to do that? When I try this is what is says.

image

plauzul commented 5 years ago

I will create new version for angular 6 and 7