Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 689e4b8

Browse files
remcohaszingsamcx
andauthored
examples(with-mdx): update to MDX 3 (vercel#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 vercel#59693 Co-authored-by: Sam Ko <[email protected]>
1 parent 126b9c8 commit 689e4b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/with-mdx/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"start": "next start"
77
},
88
"dependencies": {
9-
"@mdx-js/loader": "^1.5.1",
10-
"@mdx-js/react": "^1.6.18",
9+
"@mdx-js/loader": "^3.0.1",
1110
"@next/mdx": "^9.1.1",
1211
"next": "latest",
1312
"react": "^18.2.0",

0 commit comments

Comments
 (0)