From e40bcf7284cd83e35810a42be45e5d6f82f1b8b0 Mon Sep 17 00:00:00 2001 From: Justin DuJardin Date: Sat, 25 Feb 2017 14:31:06 -0800 Subject: [PATCH] fix: missing BrowserModule.withServerTransition --- src/app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'}