Framework v4 BETA

ionic capacitor add

Contents

ionic capacitor add <platform>

Adds a new Capacitor native platform to your Ionic project

ionic capacitor add will do the following:

  • Add a new platform specific folder to your project (ios, android, or electron)

Inputs

platform

Required: true
The platform to add (e.g. android, ios, electron)