Multiple releases using the same, but configurable, Angular Standalone Application build #310
Replies: 3 comments 2 replies
-
I think you linked to the old version of ApplicationConfig, here's the new one: https://angular.dev/api/core/ApplicationConfig |
Beta Was this translation helpful? Give feedback.
-
Is there a way to inject this configuration object using standalone component "inject()" or the only way to do it is via the constructor injection? constructor(@Inject(APP_CONFIG) config: AppConfig |
Beta Was this translation helpful? Give feedback.
-
FYI. I linked this solution - along with others in this feature request to the Angular Team: https://github.com/angular/angular/issues/58248 |
Beta Was this translation helpful? Give feedback.
-
Multiple releases using the same, but configurable, Angular Standalone Application build
Configuring an Angular standalone application to be flexible enough to be released in different environments.
https://timdeschryver.dev/blog/multiple-releases-using-the-same-but-configurable-angular-standalone-application-build
Beta Was this translation helpful? Give feedback.
All reactions