Skip to content
This repository was archived by the owner on Oct 22, 2018. It is now read-only.

Commit a608ed9

Browse files
committed
Fixing dependencies and routes
1 parent 7828e7d commit a608ed9

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

nativescript/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"@angular/forms": "~4.4.1",
2020
"@angular/http": "~4.4.1",
2121
"@angular/platform-browser": "~4.4.1",
22-
"@angular/platform-browser-dynamic": "~4.4.1",
2322
"@angular/router": "~4.4.1",
2423
"@ngx-translate/core": "^6.0.1",
2524
"@ngx-translate/http-loader": "0.0.3",

src/app/home/home.module.tns.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
import { NgModule, Optional, SkipSelf, NO_ERRORS_SCHEMA } from '@angular/core';
1+
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
22
// app
3-
import { HomeComponent } from './components/home/home.component';
4-
import { SHARED_MODULES } from './home.common';
3+
import { SHARED_MODULES, COMPONENT_DECLARATIONS } from './home.common';
54

65
@NgModule({
76
imports: [
87
...SHARED_MODULES
98
],
10-
declarations: [HomeComponent],
9+
declarations: [
10+
...COMPONENT_DECLARATIONS
11+
],
1112
schemas: [
1213
NO_ERRORS_SCHEMA
1314
]

src/app/home/home.module.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
import { NgModule, Optional, SkipSelf, NO_ERRORS_SCHEMA } from '@angular/core';
22
// app
33
import { HomeComponent } from './components/home/home.component';
4-
import { SHARED_MODULES } from './home.common';
4+
import { SHARED_MODULES, COMPONENT_DECLARATIONS } from './home.common';
55
import { IonicPageModule } from 'ionic-angular';
66

77
@NgModule({
88
imports: [
99
IonicPageModule.forChild(HomeComponent),
1010
...SHARED_MODULES
1111
],
12-
declarations: [HomeComponent]
12+
declarations: [
13+
...COMPONENT_DECLARATIONS
14+
]
1315
})
1416
export class HomeModule {
1517

0 commit comments

Comments
 (0)