splitbee / react-notion

A fast React renderer for Notion pages
https://react-notion.com
MIT License
2.85k stars 149 forks source link

How to create pretty URL slugs posts? #78

Closed dimitrisraptis96 closed 3 years ago

dimitrisraptis96 commented 3 years ago

Hi. First of all, thanks for this amazing library 👏

I have a question about the blog URL. I've noticed that your articles at Splitbee have pretty URLs instead of the classic ugly Notion URLs which append a UUID at the end.

Is there a quick hack to make them work like yours on a Next.js app?

image

dimitrisraptis96 commented 3 years ago

Nevermind. I've found this article which was super useful. Thanks! 🙌

Notion as CMS using Next.js