Unverified Commit 689e4b82 authored by Remco Haszing's avatar Remco Haszing Committed by GitHub

examples(with-mdx): update to MDX 3 (#62503)

### What?

Update the `with-mdx` example to MDX 3.

### Why?

The example was 2 major versions behind.

### How?

By updating the version in `package.json`. Also the `@mdx-js/react`
dependency was removed, as it doesn’t work with the app directory. Users
should use `mdx-components.tsx` instead.

Refs #59693
Co-authored-by: 's avatarSam Ko <sam@vercel.com>
parent 126b9c8f
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
"start": "next start" "start": "next start"
}, },
"dependencies": { "dependencies": {
"@mdx-js/loader": "^1.5.1", "@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^1.6.18",
"@next/mdx": "^9.1.1", "@next/mdx": "^9.1.1",
"next": "latest", "next": "latest",
"react": "^18.2.0", "react": "^18.2.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment