Add comment about UniversalModule
This commit is contained in:
parent
494c7b585c
commit
83cfb59c2d
|
|
@ -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 },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue