@qlever-llc/trellis-svelte
v0.10.5
Published
Svelte components and state helpers for Trellis browser applications.
Downloads
2,282
Readme
@qlever-llc/trellis-svelte
Svelte integration for Trellis browser applications.
Provides TrellisProvider for app-level wiring and createTrellisApp(...) for
app-scoped typed Svelte context around the real connected Trellis client.
Use TrellisProvider as the primary integration surface:
- create an app context with
createTrellisApp({ contract, trellisUrl }) - pass
trellisApptoTrellisProvider - read the live client synchronously with
app.getTrellis()from child components
Uses the contract/runtime model from @qlever-llc/trellis/contracts and
@qlever-llc/trellis.
