Ionic – Cheat Sheet

Table of Contents

LINKS

Starter-Code

				
					ionic g page "NAME_PAGE" 
				
			
				
					ionic start "PROJECT_NAME"
ionic serve
ionic build
				
			
				
					cd myApp
npm install
				
			
				
					npm install -g @ionic/cli
ionic start myApp tabs
cd myApp
ionic serve
				
			
				
					ionic capacitor add android
ionic capacitor copy android
				
			
				
					ionic build				// build if never built
ionic cap add android	// add android support if not added while start
ionic cap copy			// 
ionic cap sync			// update Project Data
ionic cap open android  // opens Project in Android Studio