Replies: 2 comments 1 reply
-
Long shot... but I think you need this file, https://nextjs.org/docs/app/api-reference/file-conventions/mdx-components It is shown in the guide here, https://nextjs.org/docs/app/building-your-application/configuring/mdx#add-an-mdx-componentstsx-file |
Beta Was this translation helpful? Give feedback.
1 reply
-
I use traditional fs instead and it fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
i have these following codes:
they always throw error
TypeError: react__WEBPACK_IMPORTED_MODULE_0__.createContext is not a function
, no matter i tried not to use thecompile
method of mdxjs. What should i do to fix this?Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions