-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable shared form components in dashboard
- Loading branch information
1 parent
283070e
commit e75b174
Showing
5 changed files
with
40 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import { ApplicationConfig } from '@angular/core'; | ||
import { provideHttpClient } from '@angular/common/http'; | ||
import { ApplicationConfig, importProvidersFrom } from '@angular/core'; | ||
import { provideAnimations } from '@angular/platform-browser/animations'; | ||
import { provideRouter } from '@angular/router'; | ||
import { PicsaFormsModule } from '@picsa/forms'; | ||
import { PicsaTranslateModule } from '@picsa/shared/modules'; | ||
|
||
import { appRoutes } from './app.routes'; | ||
|
||
export const appConfig: ApplicationConfig = { | ||
providers: [provideRouter(appRoutes), provideAnimations()], | ||
providers: [ | ||
provideRouter(appRoutes), | ||
provideAnimations(), | ||
provideHttpClient(), | ||
// Enable picsa forms and (global) translate module for lazy-loaded standalone components | ||
// https://angular.io/guide/standalone-components#configuring-dependency-injection | ||
importProvidersFrom(PicsaFormsModule, PicsaTranslateModule.forRoot()), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters