Add comment about UniversalModule

This commit is contained in:
SteveSandersonMS
2016-09-19 16:10:57 +01:00
parent 494c7b585c
commit 83cfb59c2d

View File

@@ -17,7 +17,7 @@ import { CounterComponent } from './components/counter/counter.component';
HomeComponent HomeComponent
], ],
imports: [ imports: [
UniversalModule, UniversalModule, // Must be first import. This automatically imports BrowserModule, HttpModule, and JsonpModule too.
RouterModule.forRoot([ RouterModule.forRoot([
{ path: '', redirectTo: 'home', pathMatch: 'full' }, { path: '', redirectTo: 'home', pathMatch: 'full' },
{ path: 'home', component: HomeComponent }, { path: 'home', component: HomeComponent },