1. Install ionic
C:\Users\OMG>npm install -g ionic
2. Install cordova
C:\Users\OMG>npm install -g cordova
3. You can install both ionic and cordova togather
C:\Users\OMG>npm install -g cordova ionic
4. Check version of ionic
C:\Users\OMG>ionic info
C:\Users\OMG>ionic -v
5. Generate new ionic 4 project
C:\Users\OMG\Desktop\myIoApp>ionic start myIoApp blank --type=angular
6. Genrate new page this is include with complete module of package html file, ts files
C:\Users\OMG\Desktop\myIoApp> ionic g page detail
Genrate new page under folder this is include with complete module of package html file, ts files
..App> ionic g page folderName/detail
7. Open or Debug or Compile
> ionic serve
8. Ionic serve with cordova
>ionic serve --cordova --platform browser
9. Ionic lab or Android test in Ionic
>npm i @ionic/lab
C:\Users\OMG>npm install -g ionic
2. Install cordova
C:\Users\OMG>npm install -g cordova
3. You can install both ionic and cordova togather
C:\Users\OMG>npm install -g cordova ionic
4. Check version of ionic
C:\Users\OMG>ionic info
C:\Users\OMG>ionic -v
5. Generate new ionic 4 project
C:\Users\OMG\Desktop\myIoApp>ionic start myIoApp blank --type=angular
6. Genrate new page this is include with complete module of package html file, ts files
C:\Users\OMG\Desktop\myIoApp> ionic g page detail
Genrate new page under folder this is include with complete module of package html file, ts files
..App> ionic g page folderName/detail
7. Open or Debug or Compile
> ionic serve
8. Ionic serve with cordova
>ionic serve --cordova --platform browser
9. Ionic lab or Android test in Ionic
>npm i @ionic/lab
No comments:
Post a Comment