Creating first ionic 2 app
Ionic first started in 2013, ionic is updating from version 1 to 2 as angular is updating 1 to 2. At the time writing ionic 2 is in Alpha.
Setup
Install Nodejs on machine, then execute following commandnpm i ionic@alpha
This will install ionic 2 on your machine.
Create first App
Run following command on your terminal/shell, this will create starter ionic 2 app on desire directory.ionic start firstApp blank --v2
--v2 flag for creating ionic 2 app
blank (type of starter app) for blank app.
Build app
ionic platform add android
you can replaced ios for iphone and wp8 for windows phone 8 device instead android.

Comments
Post a Comment