@capacitor/create-app

Create a new Capacitor project

Usage no npm install needed!

<script type="module">
  import capacitorCreateApp from 'https://cdn.skypack.dev/@capacitor/create-app';
</script>

README

Create Capacitor App

Create a minimal (no JS framework) Capacitor app.

:rotating_light: This tool is for Capacitor 3, which is in active development :rotating_light:

To create minimal Capacitor 2 apps, use npx @capacitor/cli create. Follow Capacitor 3 development in this issue.

Usage

npm init @capacitor/app [<path>] -- [options]

:memo: npm init <pkg> requires npm 6+

You can also try the following methods to use this package:

  • npx @capacitor/create-app [<path>] [options]
  • yarn create @capacitor/app [<path>] [options]
  • npm install -g @capacitor/create-app && create-capacitor-app [<path>] [options]

Options

--name <name> ............. Human-friendly app name
--app-id <id> ............. Unique app ID in reverse-DNS notation