You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I wrote a simple counter component and imported it into the mdx file to render as content, Nextjs said that the component was not supported.
To Reproduce
Steps to reproduce the behavior:
Create an mdx file in the data/blog fold and write some text, the content is filled in casually.
Create a react component named test.tsx and write content like:
Expected behavior
Successfully imported the component into mdx file and rendered it on the browse.
Screenshots
If applicable, add screenshots to help explain your problem.
System Info (if dev / build issue):
OS: Windows
Node version:20.17.0
Npm version:10.8.2
Next version:14.2.3
Browser Info (if display / formatting issue):
Device PC
Browser: Chrome
Version :128.0.6613.120
Additional context
I found the same issue in the nextjs issues, but During I attempt to search mdx-components.mdx file, all of the dirs can't be found. vercel/next.js#47523
The text was updated successfully, but these errors were encountered:
Describe the bug
When I wrote a simple counter component and imported it into the mdx file to render as content, Nextjs said that the component was not supported.
To Reproduce
Steps to reproduce the behavior:
test.tsx
and write content like:Expected behavior
Successfully imported the component into mdx file and rendered it on the browse.
Screenshots
If applicable, add screenshots to help explain your problem.
System Info (if dev / build issue):
Browser Info (if display / formatting issue):
Additional context
I found the same issue in the nextjs issues, but During I attempt to search mdx-components.mdx file, all of the dirs can't be found.
vercel/next.js#47523
The text was updated successfully, but these errors were encountered: