MDX export graphql queries from programmatic pages #19367
Unanswered
janosh
asked this question in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I'd like to revisit
gatsby-mdx
issue 187. Would be extremely useful, if an MDX file used for programmatic page creation could export a GraphQL query.Basic example
Just as in the docs, but with an MDX file used in
gatsby-node.js
and outsidesrc/pages
.Motivation
As @Ehesp explained in the
gatsby-mdx
issue:Beta Was this translation helpful? Give feedback.
All reactions