Back to Material Ui

Material UI - Next.js App Router example in TypeScript

examples/material-ui-nextjs-ts/README.md

9.0.01.6 KB
Original Source

Material UI - Next.js App Router example in TypeScript

This is a Next.js project bootstrapped using create-next-app with Material UI installed.

How to use

Download the example or clone the repo:

<!-- #target-branch-reference -->
bash
curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2  material-ui-master/examples/material-ui-nextjs-ts
cd material-ui-nextjs-ts

Install it and run:

bash
npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

or:

<!-- #target-branch-reference -->

Learn more

To learn more about this example:

<!-- #host-reference -->

What's next?

<!-- #host-reference -->

You now have a working example project. You can head back to the documentation and continue by browsing the templates section.