We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug ng add angular-calendar fails when trying to add module imports in Angular 17 as it is standalone by default.
ng add angular-calendar
For a standalone app, imports should be added inside the providers array in app.config.ts file using importProvidersFrom:
importProvidersFrom( CalendarModule.forRoot({ provide: DateAdapter, useFactory: adapterFactory, }) )
Versions
@angular/core
angular-calendar
The text was updated successfully, but these errors were encountered:
Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me
Sorry, something went wrong.
@RronKurtishi I was struggling with this same issue for a while. Your solution works for me too.
Also worth noting that you need to import importProvidersFrom from @angular/core.
importProvidersFrom
import { importProvidersFrom } from '@angular/core';
No branches or pull requests
Describe the bug
ng add angular-calendar
fails when trying to add module imports in Angular 17 as it is standalone by default.For a standalone app, imports should be added inside the providers array in app.config.ts file using importProvidersFrom:
Versions
@angular/core
: ^17.0.0angular-calendar
: ^0.31.0The text was updated successfully, but these errors were encountered: