Replies: 1 comment
-
Welcome @Yusufzai! 👋 The file compiled fine, there error happened, as the error message implies, because you used a custom component without passing it in.
If those don't work, you can get support for |
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 am using NextJS and MDX with next-mdx-remote to get my data and it successfully work but the only problem is whenever I try to import react components I get the following error
In short :
This Works -
This Does Not -
Below are the following files
index.js for MDX
https://pastebin.com/5ZmCDtkf
articles/[slug]/page.js
https://pastebin.com/X0tGqsip
package.json
https://pastebin.com/iNCywNfK
mdx-components.js
https://pastebin.com/U8Bn739q
Additional information
I am using NEXT JS 14.X
Beta Was this translation helpful? Give feedback.
All reactions