Unable to import `.md` files, but `.mdx` works
Unanswered
jgoon posted this in #help-forum
jgoonOP
created a fresh Next.js project, latest version and followed the [docs](https://nextjs.org/docs/app/building-your-application/configuring/mdx) to a T.
Anyone have a working example of importing
Anyone have a working example of importing
.md
files in the latest version?// page.tsx
import Readme from "./test.mdx"; // works
import Readme2 from "./test2.md"; // fails
export default function Home() {
return (
<>
<Readme />
<Readme2 />
</>
);
}