optionPararmter

BFChainAugust 11, 2023
  • Service
  • Service
Less than 1 minute

Explanation of @plaoc/cli option parameters.

--dir

Specifies the development directory, i.e. the root directory where you created manifest.json.

For example with project directory structure:

  • root
    • dist // Packaged project directory
    • manifest.json // Manifest file
plaoc serve ./root/dist --dir ./root

--port

Specifies the port for the started service.

--mode

Service handling mode. Valid values:

  • www

    Starts folder as read-only usr/www files.

  • live

    Starts local folder with dynamic server, usr/www contains index.html for redirect.

  • prod

    Serves packed files directly.

@plaoc/cli

plaoc serve url

plaoc serve

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.13.0