Skip to content

Commit

Permalink
examples(with-mdx): update to MDX 3
Browse files Browse the repository at this point in the history
The example was 2 major versions behind.

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
  • Loading branch information
remcohaszing committed Feb 25, 2024
1 parent bef716a commit e4079f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"start": "next start"
},
"dependencies": {
"@mdx-js/loader": "^1.5.1",
"@mdx-js/react": "^1.6.18",
"@mdx-js/loader": "^3.0.1",
"@next/mdx": "^9.1.1",
"next": "latest",
"react": "^18.2.0",
Expand Down

0 comments on commit e4079f9

Please # to comment.