Using Capacitor with Ionic
Install Capacitor into an Ionic project
Capacitor is easily installed directly into any Ionic project (1.0-4.x+).
New Ionic Project
ionic start myApp tabs --capacitor
cd myApp
Existing Ionic Project
cd myApp
ionic integrations enable capacitor
Initialize Capacitor with your app information
Note: npx
is a new utility available in npm 5 or above that executes local binaries/scripts to avoid global installs.
npx cap init [appName] [appId]