Search docs/

ionic cordova prepare

Copies assets to Cordova platforms, preparing them for native builds

ionic cordova prepare [<platform>] [options]

ionic cordova prepare will do the following:

  • Perform an Ionic build, which compiles web assets to www/.
  • Copy the www/ directory into your Cordova platforms.
  • Transform config.xml into platform-specific manifest files.
  • Copy icons and splash screens from resources/ to into your Cordova platforms.
  • Copy plugin files into specified platforms.

You may wish to use ionic cordova prepare if you run your project with Android Studio or Xcode.

ionic cordova prepare ionic cordova prepare iosionic cordova prepare android

入力データ

platform

Description

The platform you would like to prepare (e.g. android, ios)

オプション

--no-build

Description

Do not invoke an Ionic build

--prod

Description

Flag to use the production configuration

詳細オプション

--configuration=<conf>

Description

Specify the configuration to use.

Aliases-c

--source-map

Description

Output source maps

--watch

Description

Rebuild when files change