Skip to content

What is the recommended way to load MDX in NextJS's getStaticProps? (can't get it to work) #1866

Answered by joostdecock
joostdecock asked this question in Q&A
Discussion options

You must be logged in to vote

To those who came here looking for answers, this page shows how it's done: https://mdxjs.com/guides/mdx-on-demand/

(thanks to @wooorm for pointing me in the right direction)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joostdecock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant