devcommand
command
Start a local development server.
Anchor to optionsOptions
- Anchor to --build-type--build-type'release' | 'nightly' | 'snapshot'
The type of build to perform.
- Anchor to --host--hoststring
The host address for the packager.
- Anchor to --snapshot-version--snapshot-versionstring
Specify the snapshot version to use (example: 2.100.0+544).
- Anchor to --tunnel--tunnelboolean
Use ngrok to create a tunnel to the local server.
- Anchor to --verbose--verboseboolean
Verbose output.
clidevOptions
- --build-type
The type of build to perform.
'release' | 'nightly' | 'snapshot'
- --host
The host address for the packager.
string
- --snapshot-version
Specify the snapshot version to use (example: 2.100.0+544).
string
- --tunnel
Use ngrok to create a tunnel to the local server.
boolean
- --verbose
Verbose output.
boolean
export interface clidevOptions {
/**
* The host address for the packager.
*/
'--host'?: string
/**
* The type of build to perform.
*/
'--build-type'?: 'release' | 'nightly' | 'snapshot'
/**
* Specify the snapshot version to use (example: 2.100.0+544).
*/
'--snapshot-version'?: string
/**
* Use ngrok to create a tunnel to the local server.
*/
'--tunnel'?: boolean
/**
* Verbose output.
*/
'--verbose'?: boolean
}
Was this section helpful?
Usage
npx shop-minis dev [options]
examples
Usage
npx shop-minis dev [options]