I have a content type “Collection”, with a field “contentSections” (a “References, many” field). I need to display the referenced content in the same order. The query $page.collection.contentSections.content is empty.
Yes, they are published. I do see the content in the GraphQL playground, but when I copy the query and put that in my Gridsome template the reference is empty.
@charlie, the referenced entries are published. I am attaching a screenshot of my query and as you can see the content for both referenced sections can be queried. But when I reference this content in Gridsome using the path $page.page.sections.content, the content is empty. Is $page.page.sections.content incorrect?
Figured it out. Need to loop through the array of references.
v-for=“reference in edge.node.references” :key=“reference.id”
v-html=“richTextToHTML(reference.richText)”