Update Angular2Spa template to newer dependencies

This commit is contained in:
SteveSandersonMS
2016-04-08 11:41:20 +01:00
parent 67483b4ab6
commit 770a74c25b
3 changed files with 6 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
import 'angular2-universal-preview/polyfills'; import 'angular2/bundles/angular2-polyfills';
import 'bootstrap'; import 'bootstrap';
import './styles/site.css'; import './styles/site.css';

View File

@@ -1,7 +1,7 @@
import 'angular2-universal-polyfills'; import 'angular2-universal/polyfills';
import * as ngCore from 'angular2/core'; import * as ngCore from 'angular2/core';
import * as ngRouter from 'angular2/router'; import * as ngRouter from 'angular2/router';
import * as ngUniversal from 'angular2-universal-preview'; import * as ngUniversal from 'angular2-universal';
import { App } from './components/app/app'; import { App } from './components/app/app';
export default function (params: any): Promise<{ html: string, globals?: any }> { export default function (params: any): Promise<{ html: string, globals?: any }> {

View File

@@ -19,17 +19,13 @@
}, },
"dependencies": { "dependencies": {
"angular2": "2.0.0-beta.13", "angular2": "2.0.0-beta.13",
"angular2-universal-preview": "^0.84.2", "angular2-universal": "0.90.1",
"aspnet-prerendering": "^1.0.0", "aspnet-prerendering": "^1.0.0",
"aspnet-webpack": "^1.0.1", "aspnet-webpack": "^1.0.1",
"css": "^2.2.1", "css": "^2.2.1",
"es6-shim": "^0.35.0",
"isomorphic-fetch": "^2.2.1", "isomorphic-fetch": "^2.2.1",
"parse5": "^1.5.1", "preboot": "^2.0.5",
"preboot": "^1.1.3",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2", "rxjs": "5.0.0-beta.2",
"webpack-externals-plugin": "^1.0.0", "webpack-externals-plugin": "^1.0.0"
"zone.js": "^0.6.6"
} }
} }