Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix link #789

Merged
merged 2 commits into from
Jan 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/basic-css/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/basic-css
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-server-express/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/custom-server-express
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-server-hapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/custom-server-hapi
Expand All @@ -29,4 +29,4 @@ Most of the times the default Next server will be enough but sometimes you want

Because the Next.js server is just a node.js module you can combine it with any other part of the node.js ecosystem. in this case we are using [Hapi](https://hapijs.com) to build a custom router on top of Next.

The example shows a server that serves the component living in `pages/a.js` when the route `/b` is requested and `pages/b.js` when the route `/a` is accessed. This is obviously a non-standard routing strategy. You can see how this custom routing is being made inside `server.js`.
The example shows a server that serves the component living in `pages/a.js` when the route `/b` is requested and `pages/b.js` when the route `/a` is accessed. This is obviously a non-standard routing strategy. You can see how this custom routing is being made inside `server.js`.
2 changes: 1 addition & 1 deletion examples/custom-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/custom-server
Expand Down
2 changes: 1 addition & 1 deletion examples/data-fetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/data-fetch
Expand Down
2 changes: 1 addition & 1 deletion examples/head-elements/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/head-elements
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/hello-world
Expand Down
2 changes: 1 addition & 1 deletion examples/layout-component/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/hello-world
Expand Down
2 changes: 1 addition & 1 deletion examples/nested-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/nested-components
Expand Down
2 changes: 1 addition & 1 deletion examples/parameterized-routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/parameterized-routing
Expand Down
2 changes: 1 addition & 1 deletion examples/shared-modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/shared-modules
Expand Down
2 changes: 1 addition & 1 deletion examples/ssr-caching/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/ssr-caching
Expand Down
4 changes: 2 additions & 2 deletions examples/using-inferno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/using-inferno
Expand All @@ -29,4 +29,4 @@ This example uses [Inferno](https://github.com/infernojs/inferno), an insanely f

Here's how we did it:

* Use `next.config.js` to customize our webpack config to support [inferno-compat](https://www.npmjs.com/package/inferno-compat)
* Use `next.config.js` to customize our webpack config to support [inferno-compat](https://www.npmjs.com/package/inferno-compat)
4 changes: 2 additions & 2 deletions examples/using-preact/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/using-preact
Expand All @@ -30,4 +30,4 @@ This example uses [Preact](https://github.com/developit/preact) instead of React
Here's how we did it:

* Create `.babelrc` file with es2015 and react presets. This allow us to get rid of the hard coded React dependency for core Next.js modules.
* Use `next.config.js` to customize our webpack config to support [preact-compat](https://github.com/developit/preact-compat)
* Use `next.config.js` to customize our webpack config to support [preact-compat](https://github.com/developit/preact-compat)
2 changes: 1 addition & 1 deletion examples/using-router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/using-router
Expand Down
2 changes: 1 addition & 1 deletion examples/with-aphrodite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-aphrodite
Expand Down
2 changes: 1 addition & 1 deletion examples/with-custom-babel-config/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Example app using custom babel config

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-custom-babel-config
Expand Down
2 changes: 1 addition & 1 deletion examples/with-cxs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-cxs
Expand Down
2 changes: 1 addition & 1 deletion examples/with-glamor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-glamor
Expand Down
2 changes: 1 addition & 1 deletion examples/with-jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-jest
Expand Down
2 changes: 1 addition & 1 deletion examples/with-loading/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-loading
Expand Down
2 changes: 1 addition & 1 deletion examples/with-mobx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-mobx
Expand Down
2 changes: 1 addition & 1 deletion examples/with-prefetching/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-prefetching
Expand Down
2 changes: 1 addition & 1 deletion examples/with-redux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example [or clone the repo](https://github.com/zeit/next.js.git):
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-redux
Expand Down
2 changes: 1 addition & 1 deletion examples/with-styled-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-styled-components
Expand Down
2 changes: 1 addition & 1 deletion examples/with-styled-jsx-postcss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This example features how you use PostCSS with styled-jsx via [styled-jsx-postcs

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-styled-jsx-postcss
Expand Down
2 changes: 1 addition & 1 deletion examples/with-styletron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## How to use

Download the example (or clone the repo)[https://github.com/zeit/next.js.git]:
Download the example [or clone the repo](https://github.com/zeit/next.js):

```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-styletron
Expand Down