How To Generate A Slug In Gatsby.JS
Published in
4 min readApr 19, 2021
You read the title right! In this article, we will be talking about slugs and how to generate a slug for a post in a blog component using Gatsby.js.
What Is A Slug?
By programming definition, a Slug is a unique identifier of a web address, usually seen at the end of a URL. It may also be the final component when a new document is created under a parent document; for…