mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Update Angular2Spa template to newer dependencies
This commit is contained in:
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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 }> {
|
||||||
|
|||||||
@@ -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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user