Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

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ā€“ build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?