source

Example of the component halfsweet/pocketjs-idf v0.1.0
# Source-built Pocket example

This consumer compiles the Solid application under `main/app` into a
deterministic `esp32p4-idf` ABI 1 `.pocket`, embeds it, and executes one
headless frame.

Install the component's pinned Bun dependencies first:

```sh
bun install --cwd ../../vendor/pocketjs --frozen-lockfile
idf.py set-target esp32p4
idf.py build
```

During component development, `main/idf_component.yml` uses `override_path`
to the repository root. When the example is downloaded independently, remove
that line to resolve the published Registry version.

To create a project from this example, run:

idf.py create-project-from-example "halfsweet/pocketjs-idf=0.1.0:source"

or download archive (~2.76 KB)