mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 22:33:03 -05:00
feat(doc): move interop rxjs signal
This commit is contained in:
29
apps/angular/interop-rxjs-signal/src/app/app.config.ts
Normal file
29
apps/angular/interop-rxjs-signal/src/app/app.config.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import { provideHttpClient } from '@angular/common/http';
|
||||
import { ApplicationConfig } from '@angular/core';
|
||||
import { provideAnimations } from '@angular/platform-browser/animations';
|
||||
import { provideRouter, withComponentInputBinding } from '@angular/router';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
provideHttpClient(),
|
||||
provideAnimations(),
|
||||
provideRouter(
|
||||
[
|
||||
{
|
||||
path: '',
|
||||
pathMatch: 'full',
|
||||
loadComponent: () => import('./list/photos.component'),
|
||||
},
|
||||
{
|
||||
path: 'detail',
|
||||
loadComponent: () => import('./detail/detail.component'),
|
||||
},
|
||||
{
|
||||
path: '**',
|
||||
redirectTo: '',
|
||||
},
|
||||
],
|
||||
withComponentInputBinding()
|
||||
),
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user