You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://deploy.now.sh/?repo=https://github.com/mui-org/material-ui/tree/master/examples/nextjs)
2
1
# Material-UI example
3
2
4
-
## How to use
5
-
6
-
### Using `create-next-app`
7
-
8
-
Execute [`create-next-app`](https://github.com/segmentio/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example:
curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/nextjs
22
-
cd nextjs
23
-
```
24
-
25
-
Install it and run:
26
-
27
-
```bash
28
-
npm install
29
-
npm run dev
30
-
# or
31
-
yarn
32
-
yarn dev
33
-
```
34
-
35
-
Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download))
36
-
37
-
```bash
38
-
now
39
-
```
40
-
41
-
## The idea behind the example
42
-
43
-
This example features how you use [material-ui](https://github.com/mui-org/material-ui) (Material components that implement Google's Material Design) with Next.js.
44
-
45
-
:warning: The source code [is hosted](https://github.com/mui-org/material-ui/tree/master/examples/nextjs) on the Material-UI repository.
3
+
Source code is hosted on the [Material-UI](https://github.com/mui-org/material-ui/tree/master/examples/nextjs) repository.
0 commit comments