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 in capacitor.config.json
.
npx cap copy [platform]
platform
(optional):android
,ios
โ Copying web assets from www to android\app\src\main\assets\public in 2.64s
โ Copying web assets from www to ios/App/public in 450ms
โ Copying native bridge in 7.32ms
โ Copying capacitor.config.json in 3.22ms
โ copy in 2.74s
โ copy in 1.10ms