Я пытаюсь найти приложение для ионных приложений, но не знаю, почему ссылки не работают.Любая идея?Приложение разработано в Ionic 3
Ошибка "Uncaught (в обещании); недействительная ссылка: HomePage
help.html
<ion-content>
<ion-slides>
<ion-slide>
<div class="box blue">
<img src="assets/imgs/x.png" (click)="goToHome()" />
</div>
</ion-slide>
</ion-slides>
</ion-content>
help.module.ts
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { HelpPage } from './help';
@NgModule({
declarations: [
HelpPage
],
imports: [
IonicPageModule.forChild('HelpPage')
],
entryComponents: [
HelpPage
],
exports: [
HelpPage
]
})
export class HelpPageModule {}
help.ts
import {Component, ViewChild, ElementRef, NgModule} from '@angular/core';
import {IonicPage, IonicPageModule, Platform, Slides, NavController} from 'ionic-angular';
import { HomePage } from '../home/home';
@Component({
selector: 'page-help',
templateUrl: 'help.html'
})
export class HelpPage {
@ViewChild(Slides) slides: Slides;
constructor(private platform:Platform, public navCtrl: NavController){}
goToHome(){
this.navCtrl.push('HomePage');
}
}