diff --git a/src/app.ts b/src/app.ts index 84774e58..31c21ba7 100644 --- a/src/app.ts +++ b/src/app.ts @@ -21,7 +21,9 @@ export class AppComponent {} @NgModule({ imports: [ - BrowserModule, + BrowserModule.withServerTransition({ + appId: 'universal-demo-app' + }), RouterModule.forRoot([ { path: '', component: HomeView, pathMatch: 'full'}, { path: 'lazy', loadChildren: './lazy.module#LazyModule'}