メインコンテンツまでスキップ
バージョン: v3

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