vv-runtime
v0.2.0
Published
Runtime helpers for Variable Visualizer generated wrappers (React, Vue, Svelte, Web Components).
Downloads
103
Readme
vv-runtime
Runtime helpers for Variable Visualizer generated wrappers.
Install in the consumer app and wrap once at the root (framework-specific):
npm i vv-runtime| Framework | Import | Provider |
|-----------|--------|----------|
| React | vv-runtime/runtime/react | <VVProvider project={…} modes={…}> |
| Vue | vv-runtime/runtime/vue | <VVProvider project={…} modes={…}> |
| Svelte | vv-runtime/runtime/svelte | setVVProvider / setVVContext |
| Web Components | vv-runtime/runtime/web-component | setVVContext |
Generated .vv.* wrappers import these modules. Canvas preview loads the same
specifiers via VV’s Vite bridge so preview and production share one context.
