-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ngx-toaster not imported in angular 17 #1011
Comments
I had the same problem, however i could solve. You should import |
Even with @rickardaniel 's tip I still get "Type 'EnvironmentProviders' is not assignable to type 'Provider'." error. Anyone has any tips on how to fix this? Thank you. |
I'm working with: You should add @import 'ngx-toastr/toastr'; in the file styles.scss, Also try to work the toast services in another file |
if we install ngx-toaster and import in angular 17 then import in standalone component but not working
@component({
selector: 'app-notification',
standalone: true,
imports: [PageTitleComponent, ToastrModule.forRoot()],
templateUrl: './notification.component.html',
styles: ``
})
The text was updated successfully, but these errors were encountered: