Gatsby Plugin page creator with graphql query #38228
Unanswered
samjeffress
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all 👋 ,
I'd like to know if it's possible to build a template / plugin for creating pages that includes page queries (not static queries)
We're using contentful to allow users to create their own pages in multiple parts of our site - we have multiple gatsby apps that are responsible for different parts of the site.
We wanted to build a plugin that each app could configure to handle queries and rendering of pages within the app This is how we're adding the plugin to gatsby-config.js of an app:
The issue we're getting is:
The gatsby-node.js part of the plugin is responsible for querying for the content id's
And the jsx template
We're currently running Gatsby 4
Thanks
Beta Was this translation helpful? Give feedback.
All reactions