codarch render
DocumentationVentana de terminal
Ventana de terminal
Publishes the static webapp with a snapshot inside, ready to serve.
codarch render <file.cc.json[.gz]> [options]Options
Section titled “Options”| Option | What it does |
|---|---|
-o, --out <dir> | Output folder. Defaults to next to the cc.json. |
-h, --help | Help. |
Output
Section titled “Output”Copies the webapp to the output folder with the snapshot at data/snapshot.cc.json. Prints the file, the output, the command to serve it (npx serve "<output>"), file count, project and time. Use it to publish the map on any static host.
Examples
Section titled “Examples”codarch render .codarch/snapshot.cc.json -o publicnpx serve publicExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 | App published. |
1 | Missing or invalid cc.json, web build not found or the output could not be written. |