Appearance
@nxext/capacitor:capacitor-project
Add a Capacitor project
Usage
bash
nx generate capacitor-project ...
nx generate capacitor-project ...
By default, Nx will search for capacitor-project
in the default collection provisioned in nx.json.
You can specify the collection explicitly as follows:
bash
nx g @nxext/capacitor:capacitor-project ...
nx g @nxext/capacitor:capacitor-project ...
Show what will be generated without writing to disk:
bash
nx g capacitor-project ... --dry-run
nx g capacitor-project ... --dry-run
Options
project (required)
Alias(es): p
Type: string
The name of the frontend project for Capacitor.
appId
Default: io.ionic.starter
Type: string
The app ID for the project.
appName
Type: string
The application name for the project.
skipFormat
Default: false
Type: boolean
Skip formatting files.
webDir
Type: string
The directory of your projects built web assets.
@nxext/capacitor:application
application generator
Usage
bash
nx generate application ...
nx generate application ...
bash
nx g app ... # same
nx g app ... # same
By default, Nx will search for application
in the default collection provisioned in nx.json.
You can specify the collection explicitly as follows:
bash
nx g @nxext/capacitor:application ...
nx g @nxext/capacitor:application ...
Show what will be generated without writing to disk:
bash
nx g application ... --dry-run
nx g application ... --dry-run
Options
appId (required)
Default: io.ionic.starter
Type: string
The app ID for the project.
name (required)
Type: string
unitTestRunner
Default: vitest
Type: string
Possible values: vitest
, none
Test runner to use for unit tests.