I am facing this icon problem in many screen. for example. i have one screen , where i have added some icon at left side of nav bar. but its not at all showing the icon. only small back box alone is showing .here is my code:
<ion-buttons>
<button ion-button >
<ion-icon name="close"></ion-icon>
</button>
</ion-buttons
I use this also :
<ion-buttons>
<button ion-button >
<ion-icon ios="ios-close" md="md-close"></ion-icon>
</button>
</ion-buttons
but no use.still black small box icon is showing.
okay now, i tried with push nav.but there alos its not showing the back button.here is my code :
my home.html :
<button class="button button-outline footerbtnone" (click)="login()">LOG IN</button>
my home.js
constructor(public navCtrl: NavController) {
}
login() {
this.navCtrl.push(LoginPage);
}
But when i move to LoginPage
i can't see the back button icon. still i am seeing that small black box icon.here that image :
please help me out.what i am missing.
Thanks
ionic serve
.. – Superordinatenpm install
does it will help. or any removing platform and adding platform does it will help ? – Yasuinpm install
.. have you set any content security policy? – Superordinate