I want to see the actual route on the url but I can't figure out what I need to change exactly.
I'm following the docs here: https://ionicframework.com/docs/api/navigation/IonicPage/
but I get this error:
...home.ts has a @IonicPage decorator, but it does not have a corresponding "NgModule" at... I have this on the top of my page:
@IonicPage({
name: 'sums-home',
segment: 'sums-home'
})
I created the home.module.ts file with this code:
import { NgModule } from '@angular/core';
import { SumsHomePage} from './home'; import { IonicPageModule } from 'ionic-angular';
import { NgModule } from '@angular/core';
import { SumsHomePage} from './home';
import { IonicPageModule } from 'ionic-angular';
@NgModule({
declarations: [
SumsHomePage
],
imports: [
IonicPageModule.forChild(SumsHomePage),
],
exports: [
SumsHomePage
]
})
export class SumsHomePageModule { }
and I go to this page doing:
this.navCtrl.push('sums-home');
but I think it should have something else.
Does anyone archived this?