Page Create

Page Create

In this lesson discus about page create, navbar color change and back & home buttons control.

First, create a blank template and add platform then run. Simply run below command in terminal.

  • $ ionic start myApp sidemenu --type=ionic-angular
  • $ cd myApp/
  • $ ionic cordova platform add ios
  • $ ionic generate page Cards --no-module
  • $ ionic cordova run ios --livereload

important points

Page create command

$ ionic generate page pageName –no-module

navbar color change

ion-navbar color=”danger”

color defines variables.scss located in the theme folder

Follow up with high-quality video tutorial on YouTube

Leave a Reply

Your email address will not be published. Required fields are marked *