<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alexey Chechet</title>
    <description>The latest articles on DEV Community by Alexey Chechet (@yukos1221).</description>
    <link>https://dev.to/yukos1221</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3990128%2Fe8c747c0-41f8-461a-8c8e-25a1d08bc333.jpeg</url>
      <title>DEV Community: Alexey Chechet</title>
      <link>https://dev.to/yukos1221</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yukos1221"/>
    <language>en</language>
    <item>
      <title>Building a headless visual editor for Vue — the Vue answer to Puck</title>
      <dc:creator>Alexey Chechet</dc:creator>
      <pubDate>Thu, 18 Jun 2026 11:13:26 +0000</pubDate>
      <link>https://dev.to/yukos1221/building-a-headless-visual-editor-for-vue-the-vue-answer-to-puck-10b7</link>
      <guid>https://dev.to/yukos1221/building-a-headless-visual-editor-for-vue-the-vue-answer-to-puck-10b7</guid>
      <description>&lt;p&gt;There's a good open-source page builder for React. It's called &lt;a href="https://github.com/measuredco/puck" rel="noopener noreferrer"&gt;Puck&lt;/a&gt;, and it's genuinely well-built: you register your own React components, users drag them onto a canvas, and you get back JSON that you render in your app. This way, there is no proprietary lock-in, no hosted service you have to pay for.&lt;/p&gt;

&lt;p&gt;But if you work in Vue, you don't have that. The maintainers have been clear they're not porting Puck to Vue, and nothing in the Vue ecosystem fills the same gap at the same quality. Your options are a proprietary SaaS builder or rolling your own from scratch.&lt;/p&gt;

&lt;p&gt;I spent the last few years working on a production site editor, so "roll your own" didn't scare me as much as it probably should have. I started building one and it's called &lt;strong&gt;Gissen&lt;/strong&gt;. It's MIT-licensed, and this post is an honest snapshot of the current state of the architecture, including what is still missing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The shape of it: headless, config-driven
&lt;/h2&gt;

&lt;p&gt;The core idea is the same one Puck got right: you don't theme the editor, but you bring your own Vue components, register them with a typed config, and the editor just arranges them.&lt;/p&gt;

&lt;p&gt;Here's the actual config from the example app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;defineGissenConfig&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;gissen&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;Hero&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;./components/Hero.vue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;FeatureCard&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;./components/FeatureCard.vue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;Container&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;./components/Container.vue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nf"&gt;defineGissenConfig&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;components&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;Hero&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;text&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Title&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="na"&gt;subtitle&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;textarea&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Subtitle&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="na"&gt;cta&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;select&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="na"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;CTA&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="na"&gt;options&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Get started free&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;get-started&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
            &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Learn more&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;learn-more&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
          &lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="na"&gt;defaultProps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Build pages visually&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;subtitle&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Drag and drop your own Vue components. No lock-in.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;cta&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;get-started&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="na"&gt;render&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;Hero&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="c1"&gt;// ...TextBlock, FeatureCard, Container&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;render&lt;/code&gt; points at a plain Vue SFC. Nothing in &lt;code&gt;Hero.vue&lt;/code&gt; knows that it's inside the editor — it's the same component you'd ship to production.&lt;/p&gt;

&lt;p&gt;Mounting the editor is one component:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight vue"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;script&lt;/span&gt; &lt;span class="na"&gt;setup&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"ts"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;GissenEditor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;GissenData&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;gissen&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;ref&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;vue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;config&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;./gissen.config&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;ref&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;GissenData&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;root&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;props&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;script&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;template&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;GissenEditor&lt;/span&gt; &lt;span class="na"&gt;v-model:data=&lt;/span&gt;&lt;span class="s"&gt;"data"&lt;/span&gt; &lt;span class="na"&gt;:config=&lt;/span&gt;&lt;span class="s"&gt;"config"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;template&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The output is &lt;code&gt;data&lt;/code&gt; — plain JSON. Every node is &lt;code&gt;{ type, props }&lt;/code&gt;, and containers nest children and that's the whole document model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types are inferred from the field definitions
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;fields&lt;/code&gt; block is the source of truth for the component's prop types.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;InferFieldType&lt;/code&gt; is a conditional type that maps each field kind to a TypeScript type: &lt;code&gt;text&lt;/code&gt;/&lt;code&gt;textarea&lt;/code&gt; to &lt;code&gt;string&lt;/code&gt;, &lt;code&gt;number&lt;/code&gt; to &lt;code&gt;number&lt;/code&gt;, &lt;code&gt;boolean&lt;/code&gt; to &lt;code&gt;boolean&lt;/code&gt;, &lt;code&gt;slot&lt;/code&gt; to a list of child nodes. The &lt;code&gt;select&lt;/code&gt; option is interesting — it pulls the literal union straight out of the options:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// select options: [{ value: 'get-started' }, { value: 'learn-more' }] as const&lt;/span&gt;
&lt;span class="c1"&gt;// inferred type: 'get-started' | 'learn-more'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's why the &lt;code&gt;as const&lt;/code&gt; on the options array matters: drop it and TypeScript widens the values to &lt;code&gt;string&lt;/code&gt;, and you lose the union.&lt;/p&gt;

&lt;p&gt;From there, a mapped type builds the full props object, &lt;code&gt;defaultProps&lt;/code&gt; is checked against &lt;code&gt;Partial&amp;lt;InferredProps&amp;gt;&lt;/code&gt;, and &lt;code&gt;render&lt;/code&gt; has to be a component accepting those props plus an &lt;code&gt;id&lt;/code&gt;. So if you add a field to the config and forget to handle it in &lt;code&gt;defaultProps&lt;/code&gt;, or wire up a component whose props don't match, it's a compile error.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rendering without an iframe
&lt;/h2&gt;

&lt;p&gt;A lot of visual editors render the canvas inside an iframe to isolate styles, but Gissen doesn't. Components mount directly into the same DOM:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nf"&gt;h&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;render&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;slotMap&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Scoped styles survive for free, because there's no trick involved — these are real Vue components mounted normally. Vue's scoped CSS works through &lt;code&gt;data-v-*&lt;/code&gt; attributes, and it doesn't care whether the component is rendered in the editor or in production. It means no CSS-in-JS, no shadow DOM, no style injection. Your component looks identical on the canvas and in the real app, which is the entire point of the "headless" approach.&lt;/p&gt;

&lt;p&gt;The only editor-specific addition is a single &lt;code&gt;&amp;lt;div class="gissen-node"&amp;gt;&lt;/code&gt; wrapper around each instance, for selection and drag handling. It exists only in the editor; it won't be in the production render.&lt;/p&gt;

&lt;p&gt;One thing worth flagging: the canvas uses a render function (&lt;code&gt;h()&lt;/code&gt;) rather than a template on purpose. Slot names are derived from the config at runtime — a &lt;code&gt;slot&lt;/code&gt; field named &lt;code&gt;children&lt;/code&gt; becomes &lt;code&gt;&amp;lt;slot name="children" /&amp;gt;&lt;/code&gt;. Dynamic, config-derived slot names are unreliable in Vue's template syntax, so the render-function approach is a deliberate choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that was actually hard: drag-and-drop
&lt;/h2&gt;

&lt;p&gt;The drag-and-drop is built on &lt;a href="https://github.com/Alfred-Skyblue/vue-draggable-plus" rel="noopener noreferrer"&gt;vue-draggable-plus&lt;/a&gt;, which wraps SortableJS. But "use a library" hides how much glue sits between a DOM-mutating sort library and a reactive Vue store. A few things that cost me real time:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Index translation.&lt;/strong&gt; SortableJS returns &lt;code&gt;newIndex&lt;/code&gt; as the final position (starting from 0) &lt;em&gt;after&lt;/em&gt; a drag. For insertion, the store needs the slot index. When dragging forward, these values ​​don't match, since removing the dragged element initially shifts everything to the left:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;storeIndex&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;newIndex&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;oldIndex&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="nx"&gt;newIndex&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;newIndex&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Off by one in one direction only.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reverting the DOM before mutating state.&lt;/strong&gt; SortableJS physically moves DOM nodes before your callback is triggered. If you then modify the store and let Vue patch, Vue is diffing against a DOM that's already been rearranged behind its back, resulting in visual glitches. So the handler first puts the DOM back where it started (&lt;code&gt;removeChild&lt;/code&gt; + &lt;code&gt;insertBefore&lt;/code&gt; at the old index), &lt;em&gt;then&lt;/em&gt; mutates the store, so Vue patches from a clean baseline. On &lt;code&gt;onAdd&lt;/code&gt;, the cloned node SortableJS injects from the sidebar gets removed immediately too: the store is the source of truth, and the DOM is not.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cycle prevention.&lt;/strong&gt; Containers can be nested, which means you can try to drop a container into itself or into one of its own descendants. SortableJS's &lt;code&gt;put&lt;/code&gt; validator rejects that via an &lt;code&gt;isAncestorOf(component, targetParentId)&lt;/code&gt; check. This check distinguishes "nested drag-and-drop" from "document corruption."&lt;/p&gt;

&lt;p&gt;None of this shows up in a demo video. It's the kind of work that's invisible when it's done right.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agent-native by design (not yet by implementation)
&lt;/h2&gt;

&lt;p&gt;Here's the bet I'm making. The document is plain JSON, and the config is a typed grammar describing which components exist and what props they take. That's exactly the shape an LLM agent needs to build or edit a page programmatically — same JSON a human produces by dragging, same config constraining it.&lt;/p&gt;

&lt;p&gt;The plan is to create an MCP server that will directly provide access to this for agents. I'd like to clarify the status: this server is currently under development. The package exists, the CLI prints "not yet implemented," and there are zero tools wired up. So Gissen is &lt;em&gt;designed&lt;/em&gt; to be agent-native; it is not yet agent-native in practice. I'd rather say that plainly than imply something ships that doesn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it actually is
&lt;/h2&gt;

&lt;p&gt;Pre-alpha. Don't put it in production. Honestly:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Working:&lt;/strong&gt; the editor canvas, drag from a component palette, reorder, nest into containers, select and delete, the typed config, and JSON output via &lt;code&gt;v-model:data&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/tT_0eCHhnIE"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Not yet:&lt;/strong&gt; editing prop values (the properties panel currently shows the selected component's type and a "coming soon" note — no editable fields), the MCP server, and a production render helper. You can get the JSON out today, but there's no shipped &lt;code&gt;GissenRender&lt;/code&gt; to turn it back into Vue outside the editor — for now you'd render it yourself.&lt;/p&gt;

&lt;p&gt;The public API today is small and honest: &lt;code&gt;GissenEditor&lt;/code&gt;, &lt;code&gt;defineGissenConfig&lt;/code&gt;, a few data utilities, config/data validation, and the types.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;npm install gissen
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repo: &lt;a href="https://github.com/gissen-dev/gissen" rel="noopener noreferrer"&gt;https://github.com/gissen-dev/gissen&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm building it in the open and the early architecture decisions are the most useful time to get feedback, so if you've built something like this in Vue I'd like to hear how you handled it. And any feedback is welcome.&lt;/p&gt;

</description>
      <category>vue</category>
      <category>javascript</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
