Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comment about UniversalModule
  • Loading branch information
SteveSandersonMS committed Sep 19, 2016
commit 83cfb59c2da0f80c267f3db1ab9e461e29fd66f5
2 changes: 1 addition & 1 deletion templates/Angular2Spa/ClientApp/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down