1. First we have to install Node JS
Installing Node JS in Window :
- Download Node installer from link
https://nodejs.org/en/download/
- Open installer and install node js
This will install node js and npm (node package manager)
2. Next we to install ionic framework with npm in command prompt
- npm install ionic -g
- [-g] install ionic globally so we can create ionic project every where in our computer
3. Next We install cordova
- npm install cordova -g
4. Setup our first project in ionic
- ionic start [app_name] [template]
- ionic start myapp sidemenu
- Template available : tabs, sidemenu, blank
- This will create ionic folder in current directory
5. Run ionic app
- ionic serve [option]
- ionic serve --lab
To run in browser
Installing Node JS in Window :
- Download Node installer from link
https://nodejs.org/en/download/
- Open installer and install node js
This will install node js and npm (node package manager)
2. Next we to install ionic framework with npm in command prompt
- npm install ionic -g
- [-g] install ionic globally so we can create ionic project every where in our computer
3. Next We install cordova
- npm install cordova -g
4. Setup our first project in ionic
- ionic start [app_name] [template]
- ionic start myapp sidemenu
- Template available : tabs, sidemenu, blank
- This will create ionic folder in current directory
5. Run ionic app
- ionic serve [option]
- ionic serve --lab
To run in browser