parent
4b5b05f396
commit
632e9b69e5
@ -1,8 +1,10 @@
|
||||
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { withComponentInputBinding } from '@angular/router';
|
||||
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
||||
|
||||
import { routes } from './app.routes';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes)],
|
||||
providers: [provideRouter(routes, withComponentInputBinding()), provideAnimationsAsync()]
|
||||
};
|
||||
|
@ -1 +1,4 @@
|
||||
<p>recipe works!</p>
|
||||
<p>{{recipe.id}}</p>
|
||||
<p>{{recipe.name}}</p>
|
||||
<p>{{recipe.description}}</p>
|
||||
|
||||
|
Loading…
Reference in new issue