esy build
from the root directoryesy install
esy build
npm install
npm run build
npm start
The Revery playground is split into two components:
The code is structured as follows:
src/lib/
- Common code between the renderer and worker, common types, and the communication protocol.src/renderer
- The front-end renderer code. This is responsible for rendering, layout, and acquiring and passing UI events to the worker.src/worker
- The back-end worker code. This is responsible for picking up code changes, parsing, and notifying the UI. It also runs the app loop (animations, ticker).