mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Add comment about UniversalModule
This commit is contained in:
@@ -17,7 +17,7 @@ import { CounterComponent } from './components/counter/counter.component';
|
||||
HomeComponent
|
||||
],
|
||||
imports: [
|
||||
UniversalModule,
|
||||
UniversalModule, // Must be first import. This automatically imports BrowserModule, HttpModule, and JsonpModule too.
|
||||
RouterModule.forRoot([
|
||||
{ path: '', redirectTo: 'home', pathMatch: 'full' },
|
||||
{ path: 'home', component: HomeComponent },
|
||||
|
||||
Reference in New Issue
Block a user