How can we integrate .mdx files using new SSG functions? #11719
Unanswered
NateRadebaugh
asked this question in
Help
Replies: 2 comments 5 replies
-
Just using https://github.com/zeit/next.js/tree/canary/examples/with-mdx should be enough 🤔 MDX gets compiled to JSX and is rendered as-is, so getStaticProps is not needed. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can we integrate
.mdx
files using the new SSG functions?I've tried using these examples, but there's some glue missing to set up a blog with custom files, gray-matter, etc.:
If we try to replicate a setup like https://github.com/kentcdodds/kentcdodds.com (uses gatsby) are we missing some functions, or am I just missing an example that wires it all up?
Beta Was this translation helpful? Give feedback.
All reactions