I don't understand how to fetch getByUID

I don't understand how to fetch getByUID. Where is UID and how do I fetch it in Nextjs?

Hey there,

When you create a type in Prismic, you can add a UID field to it and then use that field to query documents from that type. You can learn more in the Next.js fetching docs:

And here:

I hope that helps!

Sam