Skip to content

Commit dfa8026

Browse files
CaerusKaruMarkPieszak
authored andcommitted
chore: update to latest nguniversal and fix imports (#578)
closes #577
1 parent fdef986 commit dfa8026

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

ClientApp/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { LinkService } from './shared/link.service';
77

88
// i18n support
99
import { TranslateService } from '@ngx-translate/core';
10-
import { REQUEST } from '@nguniversal/aspnetcore-engine';
10+
import { REQUEST } from '@nguniversal/aspnetcore-engine/tokens';
1111

1212
@Component({
1313
selector: 'app-root',

ClientApp/app/app.module.browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { BrowserModule } from '@angular/platform-browser';
33
import { APP_BASE_HREF } from '@angular/common';
44
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
55

6-
import { ORIGIN_URL, REQUEST } from '@nguniversal/aspnetcore-engine';
6+
import { ORIGIN_URL, REQUEST } from '@nguniversal/aspnetcore-engine/tokens';
77
import { AppModuleShared } from './app.module';
88
import { AppComponent } from './app.component';
99
import { BrowserTransferStateModule } from '@angular/platform-browser';

ClientApp/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { NgxBootstrapComponent } from './containers/ngx-bootstrap-demo/ngx-boots
2424

2525
import { LinkService } from './shared/link.service';
2626
import { UserService } from './shared/user.service';
27-
import { ORIGIN_URL } from '@nguniversal/aspnetcore-engine';
27+
import { ORIGIN_URL } from '@nguniversal/aspnetcore-engine/tokens';
2828

2929
export function createTranslateLoader(http: HttpClient, baseHref) {
3030
// Temporary Azure hack

ClientApp/app/shared/user.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { HttpClient } from '@angular/common/http';
33
import { Http, URLSearchParams } from '@angular/http';
44
import { APP_BASE_HREF } from '@angular/common';
5-
import { ORIGIN_URL } from '@nguniversal/aspnetcore-engine';
5+
import { ORIGIN_URL } from '@nguniversal/aspnetcore-engine/tokens';
66
import { IUser } from '../models/User';
77
import { Observable } from 'rxjs/Observable';
88

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"@angular/platform-browser-dynamic": "^5.0.0",
2727
"@angular/platform-server": "^5.0.0",
2828
"@angular/router": "^5.0.0",
29-
"@nguniversal/aspnetcore-engine": "5.0.0-beta.5",
30-
"@nguniversal/common": "5.0.0-beta.5",
29+
"@nguniversal/aspnetcore-engine": "^5.0.0-beta.8",
30+
"@nguniversal/common": "^5.0.0-beta.8",
3131
"@ngx-translate/core": "^8.0.0",
3232
"@ngx-translate/http-loader": "^2.0.0",
3333
"@types/node": "^7.0.12",

0 commit comments

Comments
 (0)