Working With ionic and cordova : Part-1 Installation

Ionic is a good platform for hybrid mobile apps development , both for android and ios . There has some good stuffs and good functionality . We can make app only with HTML , CSS , And java Script framework like angular .

So lets start –

Step : 1

Fist of all we have to install node js of our machine . Go the node js website and download and install it .

https://nodejs.org/en/

Step : 2

From this step we can follow the ionic docs from here https://ionicframework.com/getting-started/

to install ionic and cordova first open your cmd prompt for windows and terminal for mac and linux

then paste it and enter

npm install -g cordova ionic

it will make insure to install ionic and cordova

 

Step:3

Now go you drive where you want to create  project

like i have made a folder on O Drive and name the folder is “ionic Projects”

the go there from cmd as

cd O:

cd ionic Projects/

and

ionic start myApp tabs

it will create a tab based project named “myApp”

 

step : 4

To Build and Run project for android

cd myApp
ionic platform add Android
ionic build Android
ionic emulate Android

if every thing is ok then it will show the following type of project on emulator

capture

Leave a Reply

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