-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create IconComponent & single template file
- Loading branch information
MGREMY
committed
Aug 5, 2024
1 parent
f33e6cb
commit 420d742
Showing
183 changed files
with
4,936 additions
and
2,094 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,12 +1,24 @@ | ||
import { appRoutes } from './app.routes'; | ||
import { initIcons } from './icon.init'; | ||
|
||
import { initFlowbite } from 'flowbite-angular'; | ||
import { IconRegistry, initFlowbite } from 'flowbite-angular'; | ||
|
||
import { provideHttpClient, withFetch } from '@angular/common/http'; | ||
import type { ApplicationConfig } from '@angular/core'; | ||
import { provideClientHydration } from '@angular/platform-browser'; | ||
import { APP_INITIALIZER, type ApplicationConfig } from '@angular/core'; | ||
import { DomSanitizer, provideClientHydration } from '@angular/platform-browser'; | ||
import { provideRouter } from '@angular/router'; | ||
|
||
export const appConfig: ApplicationConfig = { | ||
providers: [provideClientHydration(), provideRouter(appRoutes), provideHttpClient(withFetch()), initFlowbite()], | ||
providers: [ | ||
provideClientHydration(), | ||
provideRouter(appRoutes), | ||
provideHttpClient(withFetch()), | ||
initFlowbite(), | ||
{ | ||
provide: APP_INITIALIZER, | ||
useFactory: initIcons, | ||
deps: [IconRegistry, DomSanitizer], | ||
multi: false, | ||
}, | ||
], | ||
}; |
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
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
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
Oops, something went wrong.