Side Menu Page added in a a project created using blank template


#1

Hi,

I am newbie in Ionic 2. I have created an app using a blank template and would like to add a side menu to the one of the pages? Is this possible? How do I do it?

Thanks in advance

hemolyticus


#2

Add this above your ion-nav element in your app.component.ts file:

<ion-menu [content]="mycontent">
  <ion-content>
    <ion-list>
    ...
    </ion-list>
  </ion-content>
</ion-menu>

Then add #mycontent to your ion-nav element. Here you can find more information about using the menu: