Summary
@adam2go/tilo-react ships a React renderer for Tilo AIP blocks. Many developers use Vue 3, Svelte, or vanilla JS. This issue tracks adding a framework-agnostic renderer option.
What to build
A minimal vanilla JS / Web Components renderer that can render Tilo surface blocks without React:
<script type="module">
import { TiloElement } from 'https://cdn.jsdelivr.net/npm/@adam2go/tilo-react/vanilla';
customElements.define('tilo-surface', TiloElement);
</script>
<tilo-surface data-spec='{"blocks": [...]}' />
OR a Vue 3 wrapper:
<TiloRenderer :surface="spec" @action="handleAction" />
Scope
Resources
packages/react/src/ — current React implementation to adapt
packages/react/src/surface.ts — shared TypeScript types (framework-agnostic)
- AIP block type list:
backend/tilo/schemas/artifact.py
Summary
@adam2go/tilo-reactships a React renderer for Tilo AIP blocks. Many developers use Vue 3, Svelte, or vanilla JS. This issue tracks adding a framework-agnostic renderer option.What to build
A minimal vanilla JS / Web Components renderer that can render Tilo surface blocks without React:
OR a Vue 3 wrapper:
Scope
packages/directoryResources
packages/react/src/— current React implementation to adaptpackages/react/src/surface.ts— shared TypeScript types (framework-agnostic)backend/tilo/schemas/artifact.py