Repository navigation
Feature/angular zoneless support #1274
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
base: master
Are you sure you want to change the base?
Changes from all commits
5c7b774
7955c41
2dfaf7b
59b42ff
948b356
05b00bc
38dbd64
6dbfeab
8cd6e68
d9fcabd
0dbe244
7e244c8
e245e3d
d80b26b
1239898
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,10 @@ | ||
| import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; | ||
| import { ApplicationConfig<% if (!zoneless) { %>, provideZoneChangeDetection<% } %> } from '@angular/core'; | ||
| import { provideRouter, withHashLocation } from '@angular/router'; | ||
| import { routes } from './app.routes'; | ||
| import { | ||
| AppInfoService, | ||
| AuthGuardService, | ||
| AuthService, | ||
| ScreenService, | ||
| } from './shared/services'; | ||
|
|
||
| export const appConfig: ApplicationConfig = { | ||
| providers: [ | ||
| provideZoneChangeDetection({ eventCoalescing: true }), | ||
| providers: [<% if (!zoneless) { %> | ||
| provideZoneChangeDetection({ eventCoalescing: true }),<% } %> | ||
| provideRouter(routes, withHashLocation()), | ||
| AuthGuardService, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are you removing our services?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i've added for our services
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Plus - smaller app.config might be easier to restore by user if we overwrite smth |
||
| AuthService, | ||
| ScreenService, | ||
| AppInfoService, | ||
| ] | ||
| }; | ||
Uh oh!
There was an error while loading. Please reload this page.