this.NavCtrl.push() not working

am trying to navigate to another page on click of button.

There are two pages home & base

in home.html Go

in home.ts I have imported BasePage module.

import { Component } from ‘@angular/core’;
import { NavController } from ‘ionic-angular’;
import { BasePage } from ‘…/base/base’;
@Component({
selector: ‘page-home’,
templateUrl: ‘home.html’
})
export class HomePage {

constructor(public navCtrl: NavController) {

}
onclick(){
this.navCtrl.push(BasePage)
}
}
in app.module.ts I have imported the same BasePage

it is not redirecting to the page.neither there is any error on console. I have checked out many sites. they have used the same function that works correctly. I am using angular3.

Why Angular 3? Do you have a really old Ionic?

Didn’t you post the same question on stackoverflow? It looks like a bit the same, the problem is that you click event is not well formatted in your html page