Skip to content

Commit 9622871

Browse files
MarkPieszakSteveSandersonMS
authored andcommitted
chore(package): Update to rc4, beta router & universal 104.5
104.5 includes some bug fixes. Router beta update required pathMatch on home. Tested w/ JS on/off everything passes & works.
1 parent 64a8ef1 commit 9622871

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

templates/Angular2Spa/ClientApp/routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { FetchData } from './components/fetch-data/fetch-data';
44
import { Counter } from './components/counter/counter';
55

66
export const routes: RouterConfig = [
7-
{ path: '', redirectTo: 'home' },
7+
{ path: '', redirectTo: 'home', pathMatch: 'full' },
88
{ path: 'home', component: Home },
99
{ path: 'counter', component: Counter },
1010
{ path: 'fetch-data', component: FetchData },

templates/Angular2Spa/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"webpack-hot-middleware": "^2.10.0"
2020
},
2121
"dependencies": {
22-
"@angular/common": "2.0.0-rc.3",
23-
"@angular/compiler": "2.0.0-rc.3",
24-
"@angular/core": "2.0.0-rc.3",
25-
"@angular/http": "2.0.0-rc.3",
26-
"@angular/platform-browser": "2.0.0-rc.3",
27-
"@angular/platform-browser-dynamic": "2.0.0-rc.3",
28-
"@angular/platform-server": "2.0.0-rc.3",
29-
"@angular/router": "3.0.0-alpha.8",
30-
"angular2-universal": "^0.104.1",
22+
"@angular/common": "2.0.0-rc.4",
23+
"@angular/compiler": "2.0.0-rc.4",
24+
"@angular/core": "2.0.0-rc.4",
25+
"@angular/http": "2.0.0-rc.4",
26+
"@angular/platform-browser": "2.0.0-rc.4",
27+
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
28+
"@angular/platform-server": "2.0.0-rc.4",
29+
"@angular/router": "3.0.0-beta.2",
30+
"angular2-universal": "^0.104.5",
3131
"aspnet-prerendering": "^1.0.2",
3232
"css": "^2.2.1",
3333
"isomorphic-fetch": "^2.2.1",

0 commit comments

Comments
 (0)