Book Image

PhoneGap 4 Mobile Application Development Cookbook

Book Image

PhoneGap 4 Mobile Application Development Cookbook

Overview of this book

Table of Contents (19 chapters)
PhoneGap 4 Mobile Application Development Cookbook
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Exploring Ionic commands


In this section, we are going to explore Ionic commands. Ionic commands allow us to create, build, and run an Ionic application from the command line or terminal. Working via command line makes application development faster. We don't need to open the specific project, that is, the Android project in IDE, in order to build and run the app.

Ionic commands not only help us by creating, building, and running Ionic-based applications, they also provide other tools to make the development process more enjoyable. By knowing basic Ionic commands, we can improve our workflow while developing hybrid mobile applications.

How to do it...

To get started exploring various Ionic commands, follow these steps:

  1. Create a new tabs-based Ionic application by running the following command:

    ionic start awesomeApp tabs
    
  2. Change the directory by running the following command:

    cd awesomeApp
    
  3. After the project has been generated through Ionic commands, we have to add the platform to our application...