Ioniconf 2022 logo

Uniting our global community of Ionic developers and contributors. May 25, 2022.

DocsPluginsCLI

Capacitor CLI - cap copy

Copy the web app build and Capacitor configuration file into the native platform project. Run this each time you make changes to your web app or change a configuration value.

npx cap copy [<platform>]

Inputs:

  • platform (optional): android, ios

Hooks

The following hooks are available for copy command:

  • capacitor:copy:before
  • capacitor:copy:after

More information

Previous
<- add
Next
list ->
Contribute ->