-
-
Notifications
You must be signed in to change notification settings - Fork 876
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
ng add fails with standalone application #1699
Comments
Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me |
@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
|
Full reference in case someone needs it. app.config.ts
app-basic-calendar.component.ts
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: