Framework examples
Copy-paste hosts for mountVanillaEditor from velo-text. The core package does not depend on React, Vue, Svelte, Angular, or Astro.
| Host | Adapter | App |
|---|---|---|
| Vanilla | examples/vanilla/index.html | same |
| React | examples/react/PortableEditor.jsx | App.jsx |
| Vue | examples/vue/PortableEditor.vue | App.vue |
| Svelte | examples/svelte/portableEditor.js | App.svelte |
| Angular | examples/angular/portable-editor.ts | app.component.ts |
| Astro | examples/astro/PortableEditor.astro | index.astro |
Backend fill (same JSON for Vite, Express, Vercel): backend examples.