I'm going to update the documentation to include this extra information for anyone in the future.
Although in your project is still returning an empty Slice Zone as you haven't added any Shared Slices in your repo or created a component for the Slice you created in Prismic or passed the data for that Slice through the SliceZone component.
Also, you're trying to parse the heading data in the Rich Text component but you haven't imported it yet using (Although the errors with your Slice Zone are causing this to break anyway):
import { RichText } from 'prismic-reactjs'
I would recommend starting from one of our Sample projects:
Thanks.
system
(system)
closed as resolved, flag & select 'Something Else' to reopen.
7
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.