I want to use SolidJS + AstroJS with Prismic. Any suggestions on how I can achieve this? I don't mind building wrappers, if I can get pointed into the right direction
If it's super complicated to do so, how can I benefit from the Slice machine tool if it isn't supported?
How do I add a plugin to generate Astro Components from this json?
{
"id": "call_to_action",
"type": "SharedSlice",
"name": "CallToAction",
"description": "CallToAction",
"variations": [
{
"id": "default",
"name": "Default",
"docURL": "...",
"version": "sktwi1xtmkfgx8626",
"description": "CallToAction",
"primary": {
"title": {
"type": "StructuredText",
"config": {
"label": "Title",
"placeholder": "",
"allowTargetBlank": false,
"single": "heading2"
}
},
"body": {
"type": "StructuredText",
"config": {
"label": "body",
"placeholder": "",
"allowTargetBlank": true,
"single": "paragraph"
}
},
"buttontext": {
"type": "Text",
"config": {
"label": "buttonText",
"placeholder": ""
}
},
"background": {
"type": "Image",
"config": {
"label": "background",
"constraint": {},
"thumbnails": []
}
}
},
"items": {},
"imageUrl": "https://images.prismic.io/slice-machine/621a5ec4-0387-4bc5-9860-2dd46cbc07cd_default_ss.png?auto=compress,format"
}
]
}
But then how should I use the component on an AstroJS App?
PS: I really like what you've done here. It's a perfect solution for my needs. Hope I can contribute
Thanks.