$chiubaca / notes / fleeting / 2022-01-09
  • Managed to successfully wire up PrismicCMS with Next.js as static blog site. Love how Astro.js copied how staticProps and staticPaths. This made it so much easier to figure out in Next.js-land.

  • PrismicCMS returns rich text in a really verbose JSON format which needs to be serialized into HTML, it could be done by hand but luckily there is a hand React component that handles it all for you : https://prismic.io/docs/technologies/rendering-the-rich-text-and-title-field-reactjs#output-as-a-component

Edit on GitHub ✏️

Hey I'm Alex Chiu 👋. These are my notes for literally anything.

I'm using the Zettelkasten method to organise my thoughts here.

My more polished writings are published to my main blog at chiubaca.com

Follow me on: Github / X (Twitter) / Mastodon / LinkedIn