Skip to content

Commit c03d493

Browse files
NorbertLuszkiewiczTimer
andauthoredAug 30, 2020
Simplify example usage instructions (#16678)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
1 parent 97d8e07 commit c03d493

File tree

202 files changed

+0
-3934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+0
-3934
lines changed
 

‎contributing.md

-21
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ Deploy the example using [Vercel](https://vercel.com/now):
138138

139139
## How to use
140140

141-
### Using `create-next-app`
142-
143141
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
144142

145143
```bash
@@ -148,24 +146,5 @@ npx create-next-app --example DIRECTORY_NAME DIRECTORY_NAME-app
148146
yarn create next-app --example DIRECTORY_NAME DIRECTORY_NAME-app
149147
```
150148

151-
### Download manually
152-
153-
Download the example:
154-
155-
```bash
156-
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/DIRECTORY_NAME
157-
cd DIRECTORY_NAME
158-
```
159-
160-
Install it and run:
161-
162-
```bash
163-
npm install
164-
npm run dev
165-
# or
166-
yarn
167-
yarn dev
168-
```
169-
170149
Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
171150
````

‎examples/active-class-name/README.md

-21
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Deploy the example using [Vercel](https://vercel.com):
1010

1111
## How to use
1212

13-
### Using `create-next-app`
14-
1513
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
1614

1715
```bash
@@ -20,23 +18,4 @@ npx create-next-app --example active-class-name active-class-name-app
2018
yarn create next-app --example active-class-name active-class-name-app
2119
```
2220

23-
### Download manually
24-
25-
Download the example:
26-
27-
```bash
28-
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/active-class-name
29-
cd active-class-name
30-
```
31-
32-
Install it and run:
33-
34-
```bash
35-
npm install
36-
npm run dev
37-
# or
38-
yarn
39-
yarn dev
40-
```
41-
4221
Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).

0 commit comments

Comments
 (0)
Please sign in to comment.