Ionic is finally in pre-lease mode so it’s a good time to discover how to properly define a new project (assuming you’ve installed Ionic 2 already!).

 

1. Open up Terminal / command line and type the following:

This will create the default tabbed Ionic app interface using Typescript (Typescript is good!). If you want a side menu app (a la Facebook):

How about a blank app?

Simple!

 

2. Add iOS / Android projects

Ionic should add at least one project for you (iOS or Android, depending on platform you’re running on).

However, to be sure you have all projects, type the following:

 

3. Run it in the browser 

The –lab is optional but it makes the browser simulate both iOS and Android at the same time – kinda nifty!

That’s all folks!

How to Create an Ionic App Project and Run It

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share This

Exhausted by your 9 - 5?

Would you prefer to work for half the time and earn double? The first step to your freedom is understanding how apps make money. Simply enter your email below and I will send you a free PDF describing the process.

If you're serious about improving your life then do not miss this opportunity.


You have subscribed! Please check your email to confirm this subscription and to receive your item!