Skip to content

Commit

Permalink
Merge pull request #2 from justindujardin/patch-1
Browse files Browse the repository at this point in the history
fix: missing BrowserModule.withServerTransition
  • Loading branch information
robwormald authored Feb 26, 2017
2 parents 526cbb7 + e40bcf7 commit 006f0e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down

0 comments on commit 006f0e1

Please sign in to comment.