Re:Launch HN: Payload (YC S22) – Headless CMS for Developers
by jobsdone on Wednesday August 31, 2022 @04:14PM
(#32667743)
Next.js works great with Payload. One cool feature of Payload is the Local API, which works awesome for server side rendered pages. You get your data from Payload right in your `getServerSideProps` functions.
You'd be interested in the example repo: https://github.com/payloadcms/nextjs-custom-server
The example is set up to manage Pages, but with a few tweaks you'd be able to manage blogs posts instead.
Re:Launch HN: Payload (YC S22) – Headless CMS for Developers
by sneek_ on Wednesday August 31, 2022 @04:06PM
(#32667654)
Insanely simple. You can opt-in on a page by page basis with NextJS to any data source that you want to use. I LOVE NextJS' paradigms, and we've actually modeled a lot of what we do after its beautiful DX.
Great question!
Re:Launch HN: Payload (YC S22) – Headless CMS for Developers
by kmelve on Friday September 02, 2022 @10:20AM
(#32691191)
Hi! Knut from Sanity.io here.
Would love to learn more about:
* What you find finicky with installing basic components * What SEO issues that are connected to using GROQ/TypeScript
As far as I can gather from the docs, Payload doesn't come with more out-of-the-box components, and doesn't support custom blocks in the rich text editor, unless you commit to building the UI for it yourself?
How simple is it to install Payload in an existing Next.js app to power basically just the /blog/* subdirectory?