1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

examples: simplify download instruction

This commit is contained in:
nkzawa 2016-12-22 18:07:54 +09:00
parent 6b18e34f66
commit aa630279e6
12 changed files with 24 additions and 24 deletions

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/basic-css
cd next.js-master/examples/basic-css
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/basic-css
cd basic-css
```
or clone the repo:

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/custom-server-express
cd next.js-master/examples/custom-server-express
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/custom-server-express
cd custom-server-express
```
or clone the repo:

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/custom-server
cd next.js-master/examples/custom-server
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/custom-server
cd custom-server
```
or clone the repo:

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/head-elements
cd next.js-master/examples/head-elements
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/head-elements
cd head-elements
```
or clone the repo:

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/hello-world
cd next.js-master/examples/hello-world
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/hello-world
cd hello-world
```
or clone the repo:

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/nested-components
cd next.js-master/examples/nested-components
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/nested-components
cd nested-components
```
or clone the repo:

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/parametrized-routing
cd next.js-master/examples/parametrized-routing
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/parametrized-routing
cd parametrized-routing
```
or clone the repo:

View file

@ -5,8 +5,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/shared-modules
cd next.js-master/examples/shared-modules
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/shared-modules
cd shared-modules
```
or clone the repo:

View file

@ -5,8 +5,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/using-router
cd next.js-master/examples/using-router
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/using-router
cd using-router
```
or clone the repo:

View file

@ -5,8 +5,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/with-prefetching
cd next.js-master/examples/with-prefetching
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-prefetching
cd with-prefetching
```
or clone the repo:

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/with-redux
cd next.js-master/examples/with-redux
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-redux
cd with-redux
```
or clone the repo:

View file

@ -6,8 +6,8 @@
Download the example:
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/with-styles-components
cd next.js-master/examples/with-styled-components
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-styles-components
cd with-styled-components
```
or clone the repo: