I recently integrated ng2-toastr into my akveo/ng2-admin dashboard, utilizing the latest version with Angular 4. Following the provided installation documentation, I imported the necessary CSS in the index.html file and declared ToastModule in the app.module.ts file.
Additionally, I imported ToastsManager in my component and assigned the ViewContainerRef. The module loads successfully without any errors encountered during the process.
However, upon calling
this.toastr.success('You are awesome!', 'Success!');
, the displayed text does not reflect the defined CSS styles.
One important note is that ng2-admin utilizes WebPack as a bundler.
If anyone has any insights or suggestions on this issue, it would be greatly appreciated! Thank you in advance for your help!
To learn more about toastr, visit: https://github.com/PointInside/ng2-toastr
For further information on ng2-admin, please refer to: enter link description here