feat(doc): move interop rxjs signal

This commit is contained in:
thomas
2023-10-18 10:01:20 +02:00
parent 4ac5c2c1f1
commit 5ec510269d
22 changed files with 25 additions and 25 deletions

View 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()
),
],
};