Hello everyone and happy new year πŸ™ŒπŸ», I have a problem with outputting Portable Text 😞 this is my code + the error i get. Thanks a lot in advance :)

3 replies
Last updated: Jan 1, 2021

Hello everyone and happy new year πŸ™Œ,I have a problem with outputting Portable Text
😞 this is my code + the error i get. Thanks a lot in advance :)

Jan 1, 2021, 12:00 PM

is there a serializer missing (i use just plain text) or is it a typo from me?

Jan 1, 2021, 12:02 PM

SOLVED πŸ™‚ i am not sure what the solution was i did 2 things: add in studio objects/bodyPortableText and use it in my projects.js or i have removed the portable text componente from my projects template file. Perhaps the solution is a combination of both πŸ€·β€β™‚οΈ

Jan 1, 2021, 1:05 PM

*component

Jan 1, 2021, 1:06 PM

Sanity.io: Get the most out of your content

Sanity.io is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Give your team exactly what they need to edit and publish their content with the customizable Sanity Studio. Get real-time collaboration out of the box. Sanity.io comes with a hosted datastore for JSON documents, query languages like GROQ and GraphQL, CDNs, on-demand asset transformations, presentation agnostic rich text, plugins, and much more.

Don't compromise on developer experience. Join thousands of developers and trusted companies and power your content with Sanity.io. Free to get started, pay-as-you-go on all plans.