Skip to content

Commit

Permalink
examples: add create-next-app (#3377)
Browse files Browse the repository at this point in the history
* examples: add create-next-app

* fix with-typescript readme
  • Loading branch information
fouad authored and timneutkens committed Dec 3, 2017
1 parent f6bd1df commit 2528779
Show file tree
Hide file tree
Showing 100 changed files with 1,111 additions and 2 deletions.
11 changes: 11 additions & 0 deletions examples/active-class-name/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example active-class-name active-class-name-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/basic-css/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example basic-css basic-css-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/custom-server-express/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example custom-server-express custom-server-express-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/custom-server-fastify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example custom-server-fastify custom-server-fastify-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/custom-server-hapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example custom-server-hapi custom-server-hapi-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/custom-server-koa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example custom-server-koa custom-server-koa-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/custom-server-micro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example custom-server-micro custom-server-micro-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/custom-server-nodemon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example custom-server-nodemon custom-server-nodemon-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/custom-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example custom-server custom-server-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/data-fetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example data-fetch data-fetch-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/form-handler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example form-handler form-handler-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/head-elements/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example head-elements head-elements-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/hello-world/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example hello-world hello-world-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/layout-component/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example layout-component layout-component-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/nested-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example nested-components nested-components-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/page-transitions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example page-transitions page-transitions-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/parameterized-routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example parameterized-routing parameterized-routing-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/progressive-render/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example progressive-render progressive-render-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/root-static-files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example root-static-files root-static-files-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/shared-modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example shared-modules shared-modules-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/ssr-caching/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example ssr-caching ssr-caching-app
```

### Download manually

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

```bash
Expand Down
11 changes: 11 additions & 0 deletions examples/svg-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

## How to use

### Using `create-next-app`

Download [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:

```
npm i -g create-next-app
create-next-app --example svg-components svg-components-app
```

### Download manually

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

```bash
Expand Down
Loading

0 comments on commit 2528779

Please sign in to comment.