Ionic Meetup
#22 Tokyo

新宿駅徒歩圏内の好立地での開催。2022/07/09(土)、東京開催。

DocsプラグインCLI

Capacitor CLI - cap init

Initialize Capacitor configuration by providing an app name, app ID, and an optional web directory for the existing web app.

npx cap init <appName> <appID>

Inputs:

  • appName (required): The application’s name
  • appID (required): The application’s App ID; something like com.example.appname

Options:

  • --web-dir <value>: The existing web application to use with initialization
Previous
<- Hooks
Next
add ->
Contribute ->