2019-11-01 20:13:13 +01:00
# Next.js example
2017-04-22 14:52:49 +02:00
2019-11-27 17:40:58 +01:00
## Deploy your own
Deploy the example using [ZEIT Now ](https://zeit.co/now ):
[![Deploy with ZEIT Now ](https://zeit.co/button )](https://zeit.co/new/project?template=https://github.com/zeit/next.js/tree/canary/examples/with-material-ui)
2019-11-01 20:13:13 +01:00
## How to use
Download the example [or clone the repo ](https://github.com/mui-org/material-ui ):
```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/nextjs
cd nextjs
```
Install it and run:
2019-11-27 17:40:58 +01:00
```bash
2019-11-01 20:13:13 +01:00
npm install
npm run dev
2019-11-27 17:40:58 +01:00
# or
yarn
yarn dev
```
Deploy it to the cloud with [now ](https://zeit.co/now ) ([download](https://zeit.co/download)):
```bash
now
2019-11-01 20:13:13 +01:00
```
## The idea behind the example
[Next.js ](https://github.com/zeit/next.js ) is a framework for server-rendered React apps.