How to display data with Prismic Tab organization feature


I am using Slice Machine and Next.Js.
While working there, I've organized the contents by using the Prismic Tab feature. Like below Image (Main and CTA)

When fetching the data, there are 2types of slices in data.

Currently, the first slices data reflects the site but the sencond slices2 doesn't reflect.

How can I handle this problem?

Hi Yurii,

Because you've created 2 Slice Zones in your document, you'll need to add 2 SliceZone components in your code and pass the Slice data as so:

<SliceZone slices={} resolver={resolver} />

<SliceZone slices={} resolver={resolver} />



1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.