Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ca8184

Browse files
Merge branch 'canary' into fix_finally_polyfill
2 parents 299f412 + c03d493 commit 0ca8184

File tree

243 files changed

+577
-4015
lines changed

Some content is hidden

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

243 files changed

+577
-4015
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
````

docs/api-reference/next/link.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ description: Enable client-side transitions between routes with the built-in Lin
88
<summary><b>Examples</b></summary>
99
<ul>
1010
<li><a href="https://github.com/vercel/next.js/tree/canary/examples/hello-world">Hello World</a></li>
11+
<li><a href="https://github.com/vercel/next.js/tree/canary/examples/active-class-name">Active className on Link</a></li>
1112
</ul>
1213
</details>
1314

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)).

examples/amp-first/README.md

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

1616
## How to use
1717

18-
### Using `create-next-app`
19-
2018
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:
2119

2220
```bash
@@ -25,25 +23,6 @@ npx create-next-app --example amp-first amp-first-app
2523
yarn create next-app --example amp-first amp-first-app
2624
```
2725

28-
### Download manually
29-
30-
Download the example:
31-
32-
```bash
33-
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/amp-first
34-
cd amp-first
35-
```
36-
37-
Install it and run:
38-
39-
```bash
40-
npm install
41-
npm run dev
42-
# or
43-
yarn
44-
yarn dev
45-
```
46-
4726
Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits. You will also see AMP validation errors in the console.
4827

4928
## Todo

examples/amp-story/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 amp-story amp-app
2018
yarn create next-app --example amp-story amp-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/amp-story
29-
cd amp-story
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)).

examples/amp/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 amp amp-app
2018
yarn create next-app --example amp amp-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/amp
29-
cd amp
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)).

examples/analyze-bundles/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,25 +18,6 @@ npx create-next-app --example analyze-bundles analyze-bundles-app
2018
yarn create next-app --example analyze-bundles analyze-bundles-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/analyze-bundles
29-
cd analyze-bundles
30-
```
31-
32-
Install it
33-
34-
```bash
35-
npm install
36-
npm run dev
37-
# or
38-
yarn
39-
yarn dev
40-
```
41-
4221
### Analyze webpack output
4322

4423
To analyze your webpack output, invoke the following command:

examples/api-routes-apollo-server-and-client-auth/README.md

-21
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ In this simple example, we integrate Apollo seamlessly with [Next.js data fetchi
66

77
## How to use
88

9-
### Using `create-next-app`
10-
119
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/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:
1210

1311
```bash
@@ -16,23 +14,4 @@ npx create-next-app --example api-routes-apollo-server-and-client-auth api-route
1614
yarn create next-app --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-app
1715
```
1816

19-
### Download manually
20-
21-
Download the example:
22-
23-
```bash
24-
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/api-routes-apollo-server-and-client-auth
25-
cd api-routes-apollo-server-and-client-auth
26-
```
27-
28-
Install it and run:
29-
30-
```bash
31-
npm install
32-
npm run dev
33-
# or
34-
yarn
35-
yarn dev
36-
```
37-
3817
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)).

examples/api-routes-apollo-server-and-client/README.md

-21
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ In this simple example, we integrate Apollo seamlessly with [Next.js data fetchi
66

77
## How to use
88

9-
### Using `create-next-app`
10-
119
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:
1210

1311
```bash
@@ -16,23 +14,4 @@ npx create-next-app --example api-routes-apollo-server-and-client api-routes-apo
1614
yarn create next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app
1715
```
1816

19-
### Download manually
20-
21-
Download the example:
22-
23-
```bash
24-
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/api-routes-apollo-server-and-client
25-
cd api-routes-apollo-server-and-client
26-
```
27-
28-
Install it and run:
29-
30-
```bash
31-
npm install
32-
npm run dev
33-
# or
34-
yarn
35-
yarn dev
36-
```
37-
3817
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)).

examples/api-routes-apollo-server/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,25 +18,6 @@ npx create-next-app --example api-routes-apollo-server api-routes-apollo-server-
2018
yarn create next-app --example api-routes-apollo-server api-routes-apollo-server-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/api-routes-apollo-server
29-
cd api-routes-apollo-server
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)).
4322

4423
## Notes

examples/api-routes-graphql/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 api-routes-graphql api-routes-graphql-app
2018
yarn create next-app --example api-routes-graphql api-routes-graphql-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/api-routes-graphql
29-
cd api-routes-graphql
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)).

examples/api-routes-middleware/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 api-routes-middleware api-routes-middleware-app
2018
yarn create next-app --example api-routes-middleware api-routes-middleware-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/api-routes-middleware
29-
cd api-routes-middleware
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)).

examples/api-routes-rest/README.md

-2
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

0 commit comments

Comments
 (0)