menu

How to create a blank app using IONIC framework

  • date_range 04/07/2015 00:00 info
    sort label

After installing and setup ionic use the following command to build your first project.

ionic start AppName blank

There are three ready-made app templates to start a fresh app.

  1. blank Creating a blank App.
  2. tabs creating a template having Tabs.
  3. sidemenu creating a template having sidemenu.

After creating the app run the app using following command

ionic serve --lab

This will start your application in browser. The browser window seperate in two parts.

  1. IOS view
  2. Android view

To create an build of your application first you need to add the platform for which you are going to create your build.
For this use the following command to add platform

ionic add platform android


After adding platform create the build using the following command

ionic build android