plaoc serve

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

Start local server for developer tool to download Plaoc Apps.

plaoc serve xxx  

Example

For a project directory structure like:

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

Terminal will output:

metadata: http://127.0.0.1:8096/metadata.json
metadata: http://172.30.93.43:8096/metadata.json

Works with developer tool for local Plaoc App debugging.

  • For macbook m1, run in command line:
open /Users/xxxpath/dweb-browser-devtools.app --args -- --start install --url http://127.0.0.1:8096/metadata.json

If Plaoc App project is still in development, can also pass a url to plaoc serve to work with developer tool. See pass url for details.

@plaoc/cli

plaoc serve url

plaoc bundle

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