almost 9 years ago
Hello Readers,
We can create apps with ionic2 very fast as ionic1. To create a ionic project first of all we need to install ionic2 beta version SDK via CLI.
Important : First of all we need to install node first. If not download click here.
Now we have installed ionic2 and we can create an ionic2 project through CLI :
move into the project through CLI :
With the above command we have created a demo named ionic2Demo project, we can run the demo project using following command:
With the above command we can run app in browser.
If we want to run our app into device we need to install Cordova, via CLI if already installed then ignore.
Once Cordova installed now we can build apps on devices or emulator.
Buildings apps for iOS, Android platform:
Building apps for iOS we need to add iOS platform in project. To add platform, run:
To building apps doe android we need to add android platform in the project. To add platform , run:
With the above article we can easily install ionic2 and build the apps.
Hope this will help you :)
0 Comment(s)