Menu

How to develop Ionic 4 app

2019-01-24 - Ionic 4

npm install -g ionic;

npm install -g ios-sim;

npm install -g ios-deploy;

gem install cocoapods

PJ=skensakuIonic;
APPID=jp.co.1stclass;

mkdir $PJ;
cd $PJ;
ionic start $PJ tabs;

npm run build;

npm install –save @capacitor/cli @capacitor/core;

npx cap init $PJ $APPID;

npx cap add ios;

# For web
ionic serve;

# For app
ionic serve -c;

You should download DevApp from https://ionicframework.com/docs/appflow/devapp/

# Build for iOS

ionic capacitor add ios;

ionic capacitor open ios;

# Build for android