Commit aa630279 authored by nkzawa's avatar nkzawa

examples: simplify download instruction

parent 6b18e34f
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/basic-css cd basic-css
``` ```
or clone the repo: or clone the repo:
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/custom-server-express cd custom-server-express
``` ```
or clone the repo: or clone the repo:
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/custom-server cd custom-server
``` ```
or clone the repo: or clone the repo:
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/head-elements cd head-elements
``` ```
or clone the repo: or clone the repo:
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/hello-world cd hello-world
``` ```
or clone the repo: or clone the repo:
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/nested-components cd nested-components
``` ```
or clone the repo: or clone the repo:
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/parametrized-routing cd parametrized-routing
``` ```
or clone the repo: or clone the repo:
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/shared-modules cd shared-modules
``` ```
or clone the repo: or clone the repo:
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/using-router cd using-router
``` ```
or clone the repo: or clone the repo:
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/with-prefetching cd with-prefetching
``` ```
or clone the repo: or clone the repo:
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz 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 next.js-master/examples/with-redux cd with-redux
``` ```
or clone the repo: or clone the repo:
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Download the example: Download the example:
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/with-styles-components curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-styles-components
cd next.js-master/examples/with-styled-components cd with-styled-components
``` ```
or clone the repo: or clone the repo:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment