Here are the instructions to create example app:
- Create a new LeftRightMenu app using the sidemenu template, as shown, and go to the LeftRightMenu folder:
$ ionic start LeftRightMenu sidemenu $ cd LeftRightMenu
- Check that your app folder structure is similar to the following:
- Edit ./src/app/app.component.ts and replace it with the following code:
import { Component, ViewChild } from '@angular/core';import { Nav, Platform } from 'ionic-angular';import { StatusBar } from '@ionic-native/status-bar';import { SplashScreen } from '@ionic-native/splash-screen';import { HomePage } from '../pages/home/home';import { ListPage } ...