rsnext/examples/with-mdx
Tim Neutkens 91144461ed
Revert "chore(examples): migrate mdx from pages router (JS) to app router (TS)" (#63704)
Reverts vercel/next.js#63646

The example changes are missing a bunch of stuff:
- Types are not added, you can see the changes required here:
https://github.com/vercel/next.js/pull/63703
- Dependencies are missing, i.e. `@types/react` `@types/node`,
`typescript` are all missing.

Reverting as CI is broken.
2024-03-26 10:18:42 +01:00
..
components Revert "chore(examples): migrate mdx from pages router (JS) to app router (TS)" (#63704) 2024-03-26 10:18:42 +01:00
pages Revert "chore(examples): migrate mdx from pages router (JS) to app router (TS)" (#63704) 2024-03-26 10:18:42 +01:00
.gitignore Add .yarn/install-state.gz to .gitignore (#56637) 2023-10-18 16:34:48 +00:00
next.config.js Revert "chore(examples): migrate mdx from pages router (JS) to app router (TS)" (#63704) 2024-03-26 10:18:42 +01:00
package.json Revert "chore(examples): migrate mdx from pages router (JS) to app router (TS)" (#63704) 2024-03-26 10:18:42 +01:00
README.md update example Deploy button URLs (#48842) 2023-04-26 13:31:44 -04:00

Example app with MDX

This example shows using MDX as top level pages for your next.js app.

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example with-mdx with-mdx-app
yarn create next-app --example with-mdx with-mdx-app
pnpm create next-app --example with-mdx with-mdx-app

Deploy it to the cloud with Vercel (Documentation).