creat new ionic capacitor app code example
Example 1: how to add capacitor in ionic
cd myApp
ionic integrations enable capacitor
Example 2: start ionic 5 capacitor app
ionic start [appName] [appType] --capacitor
e.g. ionic start myApp blank --capacitor