@lvce-editor/component-state-worker
v0.17.2
Published
Inspect and edit live LVCE component state
Readme
Component State Worker
Inspect and edit live LVCE Editor component state as JSON.
The worker provides the component-state grid view and the
live-component-state:///<uid>.json filesystem implementation used by LVCE
Editor.
Development
Open the repository in a devcontainer to use Node.js 24 with dependencies installed and the development server started automatically. Port 3000 is forwarded for browser access.
To develop locally:
npm ci
npm run devOpen http://localhost:3000, then run Developer: Open Component State from
the command palette. Select an editable component to open its live state as a
JSON file. Saving that file applies the new state to the running component.
Run the browser tests headlessly with:
npm run build
npm run build:static
npm run e2e:headless