Skip to content

Commit 639df91

Browse files
rouzbeh84timneutkens
authored andcommitted
docs: removes npx info & moves src link up (vercel#4972)
FIXES: vercel#4970 confirmed rest of instructions work so left them in, even though duplicate of guide over at Material UI. thoughts?
1 parent 0acba73 commit 639df91

File tree

1 file changed

+1
-43
lines changed

1 file changed

+1
-43
lines changed

examples/with-material-ui/README.md

+1-43
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,3 @@
1-
[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/mui-org/material-ui/tree/master/examples/nextjs)
21
# Material-UI example
32

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:
9-
10-
```bash
11-
npx create-next-app --example with-material-ui with-material-ui-app
12-
# or
13-
yarn create next-app --example with-material-ui with-material-ui-app
14-
```
15-
16-
### Download manually
17-
18-
Download the example:
19-
20-
```bash
21-
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

Comments
 (0)