I am following the simple preview docs to create a custom block: 1. Simple preview
It works great, but I am not sure how to loop through a structure field (items) with this type of syntax.
panel.plugin("project/card-block", {
blocks: {
card: `
<div>
<div @click="open">
{{ content.header }}
{{ content.items.toStructure }}
</div>
</div>
`,
},
});