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

examples: add create-next-app (#3377)

* examples: add create-next-app

* fix with-typescript readme
This commit is contained in:
Fouad Matin 2017-12-02 20:30:17 -08:00 committed by Tim Neutkens
parent f6bd1df6aa
commit 2528779394
100 changed files with 1111 additions and 2 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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 using-inferno using-inferno-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 using-preact using-preact-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 using-router using-router-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 using-with-router using-with-router-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,6 +2,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 with-absolute-imports with-absolute-imports-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-algolia-react-instantsearch with-algolia-react-instantsearch-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-amp with-amp-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js.git):
```bash

View file

@ -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 with-ant-design with-ant-design-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-antd-mobile with-antd-mobile-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-aphrodite with-aphrodite-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-apollo-and-redux with-apollo-and-redux-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -7,6 +7,17 @@ https://next-with-apollo-auth.now.sh
## 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 with-apollo-auth with-apollo-auth-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -7,6 +7,17 @@ https://next-with-apollo.now.sh
## 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 with-apollo with-apollo-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,6 +2,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 with-asset-imports with-asset-imports-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-babel-macros with-babel-macros-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-cxs with-cxs-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-dotenv with-dotenv-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,6 +2,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 with-dynamic-import with-dynamic-import-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,7 +2,18 @@
**You can find a detailed documentation about how to build Electron apps with Next.js [here](https://leo.im/2017/electron-next)!**
## Usage
## 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 with-electron with-electron-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):

View file

@ -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 with-emotion with-emotion-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-fela with-fela-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-firebase-authentication with-firebase-authentication-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,6 +2,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 with-firebase-hosting with-firebase-hosting-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-flow with-flow-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-freactal with-freactal-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-glamor with-glamor-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-glamorous with-glamorous-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -6,6 +6,17 @@ This is an example of how you can include a global stylesheet in a next.js webap
## 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 with-global-stylesheet with-global-stylesheet-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,6 +2,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 with-hashed-statics with-hashed-statics-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-higher-order-component with-higher-order-component-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
Install it and run:

View file

@ -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 with-i18next with-i18next-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-jest with-jest-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-kea with-kea-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-loading with-loading-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-material-ui-next with-material-ui-next-app
```
### Download manually
Download the example [or clone the repo](https://github.com/callemall/material-ui):
```bash

View file

@ -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 with-material-ui with-material-ui-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-mobx with-mobx-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-next-routes with-next-routes-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-noscript with-noscript-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
## Development

View file

@ -2,6 +2,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 with-pkg with-pkg-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,6 +2,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 with-portals with-portals-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-prefetching with-prefetching-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-pretty-url-routing with-pretty-url-routing-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-react-ga with-react-ga-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-react-helmet with-react-helmet-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-react-intl with-react-intl-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js.git):
```bash

View file

@ -6,6 +6,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 with-react-md with-react-md-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-react-toolbox with-react-toolbox-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-react-uwp with-react-uwp-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-react-with-styles with-react-with-styles-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-reasonml with-reasonml-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -6,6 +6,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 with-rebass with-rebass-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-recompose with-recompose-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -5,6 +5,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 with-redux-code-splitting with-redux-code-splitting-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,6 +2,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 with-redux-observable with-redux-observable-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-redux-reselect-recompose with-redux-reselect-recompose-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -6,6 +6,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 with-redux-saga with-redux-saga-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-redux with-redux-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-refnux with-refnux-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-relay-modern with-relay-modern-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -5,6 +5,17 @@ This is an example of using scoped stylesheets and PostCSS, heavily influenced b
## 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 with-scoped-stylesheets-and-postcss with-scoped-stylesheets-and-postcss-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-semantic-ui with-semantic-ui-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-sentry with-sentry-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
Install it and run:

View file

@ -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 with-shallow-routing with-shallow-routing-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-socket.io with-socket.io-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -2,6 +2,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 with-static-export with-static-export-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-styled-components with-styled-components-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-styled-jsx-plugins with-styled-jsx-plugins-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-styled-jsx-scss with-styled-jsx-scss-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-styletron with-styletron-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-sw-precache with-sw-precache-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -6,6 +6,17 @@ This is an example of how you can include a global stylesheet in a next.js webap
## 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 with-tailwindcss with-tailwindcss-app
```
### Download manually
If you like [create-next-app](https://github.com/segmentio/create-next-app) and/or [yarn](https://yarnpkg.com/en/docs/cli/create) simply run:
```bash

View file

@ -4,8 +4,28 @@
This is a really simple project that show the usage of Next.js with TypeScript.
## How to use it?
## How to use it?
### 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 with-typescript with-typescript-app
```
### Download manually
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-typescript
cd with-typescript
```
Install it and run:
```
npm install
npm run dev

View file

@ -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 with-universal-configuration-runtime with-universal-configuration-runtime-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-universal-configuration with-universal-configuration-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-url-object-routing with-url-object-routing-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-webpack-bundle-analyzer with-webpack-bundle-analyzer-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash

View file

@ -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 with-webpack-bundle-size-analyzer with-webpack-bundle-size-analyzer-app
```
### Download manually
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash