Unverified Commit 9f9214ab authored by Steven's avatar Steven Committed by GitHub

Updated create-next-app docs to include pnpm usage (#35755)

This PR updates the docs and examples for `create-next-app` to include pnpm usage.

The following script was used to update every example README:

```js
const fs = require('fs')
const examples = fs.readdirSync('./examples')

for (let example of examples) {
    const filename = `./examples/${example}/README.md`
    const markdown = fs.readFileSync(filename, 'utf8')
    const regex = new RegExp(`^yarn create next-app --example (.*)$`, 'gm')
    const output = markdown.replace(regex, (yarn, group) => {
        const pnpm = `pnpm create next-app -- --example ${group}`
        return `${yarn}\n# or\n${pnpm}`
    })
    fs.writeFileSync(filename, output)
}
```
parent d95d2d35
...@@ -246,6 +246,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -246,6 +246,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example DIRECTORY_NAME DIRECTORY_NAME-app npx create-next-app --example DIRECTORY_NAME DIRECTORY_NAME-app
# or # or
yarn create next-app --example DIRECTORY_NAME DIRECTORY_NAME-app yarn create next-app --example DIRECTORY_NAME DIRECTORY_NAME-app
# or
pnpm create next-app -- --example DIRECTORY_NAME DIRECTORY_NAME-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
......
...@@ -10,6 +10,8 @@ The easiest way to get started with Next.js is by using `create-next-app`. This ...@@ -10,6 +10,8 @@ The easiest way to get started with Next.js is by using `create-next-app`. This
npx create-next-app@latest npx create-next-app@latest
# or # or
yarn create next-app yarn create next-app
# or
pnpm create next-app
``` ```
You can create a [TypeScript project](https://github.com/vercel/next.js/blob/canary/docs/basic-features/typescript.md) with the `--ts, --typescript` flag: You can create a [TypeScript project](https://github.com/vercel/next.js/blob/canary/docs/basic-features/typescript.md) with the `--ts, --typescript` flag:
...@@ -18,6 +20,8 @@ You can create a [TypeScript project](https://github.com/vercel/next.js/blob/can ...@@ -18,6 +20,8 @@ You can create a [TypeScript project](https://github.com/vercel/next.js/blob/can
npx create-next-app@latest --ts npx create-next-app@latest --ts
# or # or
yarn create next-app --typescript yarn create next-app --typescript
# or
pnpm create next-app -- --ts
``` ```
### Options ### Options
......
...@@ -27,6 +27,8 @@ You can create a TypeScript project with [`create-next-app`](https://nextjs.org/ ...@@ -27,6 +27,8 @@ You can create a TypeScript project with [`create-next-app`](https://nextjs.org/
npx create-next-app@latest --ts npx create-next-app@latest --ts
# or # or
yarn create next-app --typescript yarn create next-app --typescript
# or
pnpm create next-app -- --ts
``` ```
## Existing projects ## Existing projects
......
...@@ -25,6 +25,8 @@ We recommend creating a new Next.js app using `create-next-app`, which sets up e ...@@ -25,6 +25,8 @@ We recommend creating a new Next.js app using `create-next-app`, which sets up e
npx create-next-app@latest npx create-next-app@latest
# or # or
yarn create next-app yarn create next-app
# or
pnpm create next-app
``` ```
If you want to start with a TypeScript project you can use the `--typescript` flag: If you want to start with a TypeScript project you can use the `--typescript` flag:
...@@ -33,6 +35,8 @@ If you want to start with a TypeScript project you can use the `--typescript` fl ...@@ -33,6 +35,8 @@ If you want to start with a TypeScript project you can use the `--typescript` fl
npx create-next-app@latest --typescript npx create-next-app@latest --typescript
# or # or
yarn create next-app --typescript yarn create next-app --typescript
# or
pnpm create next-app -- --typescript
``` ```
After the installation is complete: After the installation is complete:
......
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example active-class-name active-class-name-app npx create-next-app --example active-class-name active-class-name-app
# or # or
yarn create next-app --example active-class-name active-class-name-app yarn create next-app --example active-class-name active-class-name-app
# or
pnpm create next-app -- --example active-class-name active-class-name-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -21,6 +21,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -21,6 +21,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example amp-first amp-first-app npx create-next-app --example amp-first amp-first-app
# or # or
yarn create next-app --example amp-first amp-first-app yarn create next-app --example amp-first amp-first-app
# or
pnpm create next-app -- --example amp-first amp-first-app
``` ```
Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits. You will also see AMP validation errors in the console. Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits. You will also see AMP validation errors in the console.
......
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example amp-story amp-story-app npx create-next-app --example amp-story amp-story-app
# or # or
yarn create next-app --example amp-story amp-story-app yarn create next-app --example amp-story amp-story-app
# or
pnpm create next-app -- --example amp-story amp-story-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example amp amp-app npx create-next-app --example amp amp-app
# or # or
yarn create next-app --example amp amp-app yarn create next-app --example amp amp-app
# or
pnpm create next-app -- --example amp amp-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example analyze-bundles analyze-bundles-app npx create-next-app --example analyze-bundles analyze-bundles-app
# or # or
yarn create next-app --example analyze-bundles analyze-bundles-app yarn create next-app --example analyze-bundles analyze-bundles-app
# or
pnpm create next-app -- --example analyze-bundles analyze-bundles-app
``` ```
### Analyze webpack output ### Analyze webpack output
......
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-app npx create-next-app --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-app
# or # or
yarn create next-app --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-app yarn create next-app --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-app
# or
pnpm create next-app -- --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app npx create-next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app
# or # or
yarn create next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app yarn create next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app
# or
pnpm create next-app -- --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes-apollo-server api-routes-apollo-server-app npx create-next-app --example api-routes-apollo-server api-routes-apollo-server-app
# or # or
yarn create next-app --example api-routes-apollo-server api-routes-apollo-server-app yarn create next-app --example api-routes-apollo-server api-routes-apollo-server-app
# or
pnpm create next-app -- --example api-routes-apollo-server api-routes-apollo-server-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
......
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes-cors api-routes-cors-app npx create-next-app --example api-routes-cors api-routes-cors-app
# or # or
yarn create next-app --example api-routes-cors api-routes-cors-app yarn create next-app --example api-routes-cors api-routes-cors-app
# or
pnpm create next-app -- --example api-routes-cors api-routes-cors-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes-graphql api-routes-graphql-app npx create-next-app --example api-routes-graphql api-routes-graphql-app
# or # or
yarn create next-app --example api-routes-graphql api-routes-graphql-app yarn create next-app --example api-routes-graphql api-routes-graphql-app
# or
pnpm create next-app -- --example api-routes-graphql api-routes-graphql-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes-middleware api-routes-middleware-app npx create-next-app --example api-routes-middleware api-routes-middleware-app
# or # or
yarn create next-app --example api-routes-middleware api-routes-middleware-app yarn create next-app --example api-routes-middleware api-routes-middleware-app
# or
pnpm create next-app -- --example api-routes-middleware api-routes-middleware-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -30,6 +30,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -30,6 +30,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes-rate-limit api-routes-rate-limit-app npx create-next-app --example api-routes-rate-limit api-routes-rate-limit-app
# or # or
yarn create next-app --example api-routes-rate-limit api-routes-rate-limit-app yarn create next-app --example api-routes-rate-limit api-routes-rate-limit-app
# or
pnpm create next-app -- --example api-routes-rate-limit api-routes-rate-limit-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes-rest api-routes-rest-app npx create-next-app --example api-routes-rest api-routes-rest-app
# or # or
yarn create next-app --example api-routes-rest api-routes-rest-app yarn create next-app --example api-routes-rest api-routes-rest-app
# or
pnpm create next-app -- --example api-routes-rest api-routes-rest-app
``` ```
### Deploy to Vercel ### Deploy to Vercel
......
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example api-routes api-routes-app npx create-next-app --example api-routes api-routes-app
# or # or
yarn create next-app --example api-routes api-routes-app yarn create next-app --example api-routes api-routes-app
# or
pnpm create next-app -- --example api-routes api-routes-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -19,6 +19,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -19,6 +19,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example auth0 auth0-app npx create-next-app --example auth0 auth0-app
# or # or
yarn create next-app --example auth0 auth0-app yarn create next-app --example auth0 auth0-app
# or
pnpm create next-app -- --example auth0 auth0-app
``` ```
## Configuring Auth0 ## Configuring Auth0
......
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example basic-css basic-css-app npx create-next-app --example basic-css basic-css-app
# or # or
yarn create next-app --example basic-css basic-css-app yarn create next-app --example basic-css basic-css-app
# or
pnpm create next-app -- --example basic-css basic-css-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example basic-export basic-export-app npx create-next-app --example basic-export basic-export-app
# or # or
yarn create next-app --example basic-export basic-export-app yarn create next-app --example basic-export basic-export-app
# or
pnpm create next-app -- --example basic-export basic-export-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example blog-starter-typescript blog-starter-typescript-app npx create-next-app --example blog-starter-typescript blog-starter-typescript-app
# or # or
yarn create next-app --example blog-starter-typescript blog-starter-typescript-app yarn create next-app --example blog-starter-typescript blog-starter-typescript-app
# or
pnpm create next-app -- --example blog-starter-typescript blog-starter-typescript-app
``` ```
Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
......
...@@ -47,6 +47,8 @@ or ...@@ -47,6 +47,8 @@ or
``` ```
yarn create next-app --example blog-starter blog-starter-app yarn create next-app --example blog-starter blog-starter-app
# or
pnpm create next-app -- --example blog-starter blog-starter-app
``` ```
......
...@@ -31,6 +31,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -31,6 +31,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example blog my-blog npx create-next-app --example blog my-blog
# or # or
yarn create next-app --example blog my-blog yarn create next-app --example blog my-blog
# or
pnpm create next-app -- --example blog my-blog
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -25,6 +25,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -25,6 +25,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example catch-all-routes catch-all-routes-app npx create-next-app --example catch-all-routes catch-all-routes-app
# or # or
yarn create next-app --example catch-all-routes catch-all-routes-app yarn create next-app --example catch-all-routes catch-all-routes-app
# or
pnpm create next-app -- --example catch-all-routes catch-all-routes-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -42,6 +42,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -42,6 +42,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-agilitycms cms-agilitycms-app npx create-next-app --example cms-agilitycms cms-agilitycms-app
# or # or
yarn create next-app --example cms-agilitycms cms-agilitycms-app yarn create next-app --example cms-agilitycms cms-agilitycms-app
# or
pnpm create next-app -- --example cms-agilitycms cms-agilitycms-app
``` ```
## Configuration ## Configuration
......
...@@ -14,6 +14,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -14,6 +14,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-builder-io cms-builder-io-app npx create-next-app --example cms-builder-io cms-builder-io-app
# or # or
yarn create next-app --example cms-builder-io cms-builder-io-app yarn create next-app --example cms-builder-io cms-builder-io-app
# or
pnpm create next-app -- --example cms-builder-io cms-builder-io-app
``` ```
## Configuration ## Configuration
......
...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-buttercms cms-buttercms-app npx create-next-app --example cms-buttercms cms-buttercms-app
# or # or
yarn create next-app --example cms-buttercms cms-buttercms-app yarn create next-app --example cms-buttercms cms-buttercms-app
# or
pnpm create next-app -- --example cms-buttercms cms-buttercms-app
``` ```
## Configuration ## Configuration
......
...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-contentful cms-contentful-app npx create-next-app --example cms-contentful cms-contentful-app
# or # or
yarn create next-app --example cms-contentful cms-contentful-app yarn create next-app --example cms-contentful cms-contentful-app
# or
pnpm create next-app -- --example cms-contentful cms-contentful-app
``` ```
## Configuration ## Configuration
......
...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-cosmic cms-cosmic-app npx create-next-app --example cms-cosmic cms-cosmic-app
# or # or
yarn create next-app --example cms-cosmic cms-cosmic-app yarn create next-app --example cms-cosmic cms-cosmic-app
# or
pnpm create next-app -- --example cms-cosmic cms-cosmic-app
``` ```
## Configuration ## Configuration
......
...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-datocms cms-datocms-app npx create-next-app --example cms-datocms cms-datocms-app
# or # or
yarn create next-app --example cms-datocms cms-datocms-app yarn create next-app --example cms-datocms cms-datocms-app
# or
pnpm create next-app -- --example cms-datocms cms-datocms-app
``` ```
## Configuration ## Configuration
......
...@@ -38,6 +38,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -38,6 +38,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-drupal cms-drupal-app npx create-next-app --example cms-drupal cms-drupal-app
# or # or
yarn create next-app --example cms-drupal cms-drupal-app yarn create next-app --example cms-drupal cms-drupal-app
# or
pnpm create next-app -- --example cms-drupal cms-drupal-app
``` ```
## Setup Drupal ## Setup Drupal
......
...@@ -37,6 +37,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -37,6 +37,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-ghost cms-ghost-app npx create-next-app --example cms-ghost cms-ghost-app
# or # or
yarn create next-app --example cms-ghost cms-ghost-app yarn create next-app --example cms-ghost cms-ghost-app
# or
pnpm create next-app -- --example cms-ghost cms-ghost-app
``` ```
### Setp 1. Run Next.js in development mode ### Setp 1. Run Next.js in development mode
......
...@@ -42,6 +42,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -42,6 +42,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-graphcms cms-graphcms-app npx create-next-app --example cms-graphcms cms-graphcms-app
# or # or
yarn create next-app --example cms-graphcms cms-graphcms-app yarn create next-app --example cms-graphcms cms-graphcms-app
# or
pnpm create next-app -- --example cms-graphcms cms-graphcms-app
``` ```
## Configuration ## Configuration
......
...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-kontent cms-kontent-app npx create-next-app --example cms-kontent cms-kontent-app
# or # or
yarn create next-app --example cms-kontent cms-kontent-app yarn create next-app --example cms-kontent cms-kontent-app
# or
pnpm create next-app -- --example cms-kontent cms-kontent-app
``` ```
## Configuration ## Configuration
......
...@@ -41,6 +41,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -41,6 +41,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-prepr cms-prepr-app npx create-next-app --example cms-prepr cms-prepr-app
# or # or
yarn create next-app --example cms-prepr cms-prepr-app yarn create next-app --example cms-prepr cms-prepr-app
# or
pnpm create next-app -- --example cms-prepr cms-prepr-app
``` ```
## Configuration ## Configuration
......
...@@ -38,6 +38,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -38,6 +38,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-prismic cms-prismic-app npx create-next-app --example cms-prismic cms-prismic-app
# or # or
yarn create next-app --example cms-prismic cms-prismic-app yarn create next-app --example cms-prismic cms-prismic-app
# or
pnpm create next-app -- --example cms-prismic cms-prismic-app
``` ```
## Configuration ## Configuration
......
...@@ -45,6 +45,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -45,6 +45,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-sanity cms-sanity-app npx create-next-app --example cms-sanity cms-sanity-app
# or # or
yarn create next-app --example cms-sanity cms-sanity-app yarn create next-app --example cms-sanity cms-sanity-app
# or
pnpm create next-app -- --example cms-sanity cms-sanity-app
``` ```
## Configuration ## Configuration
......
...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-storyblok cms-storyblok-app npx create-next-app --example cms-storyblok cms-storyblok-app
# or # or
yarn create next-app --example cms-storyblok cms-storyblok-app yarn create next-app --example cms-storyblok cms-storyblok-app
# or
pnpm create next-app -- --example cms-storyblok cms-storyblok-app
``` ```
## Configuration ## Configuration
......
...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-strapi cms-strapi-app npx create-next-app --example cms-strapi cms-strapi-app
# or # or
yarn create next-app --example cms-strapi cms-strapi-app yarn create next-app --example cms-strapi cms-strapi-app
# or
pnpm create next-app -- --example cms-strapi cms-strapi-app
``` ```
## Configuration ## Configuration
......
...@@ -38,6 +38,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -38,6 +38,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-takeshape cms-takeshape-app npx create-next-app --example cms-takeshape cms-takeshape-app
# or # or
yarn create next-app --example cms-takeshape cms-takeshape-app yarn create next-app --example cms-takeshape cms-takeshape-app
# or
pnpm create next-app -- --example cms-takeshape cms-takeshape-app
``` ```
## Configuration ## Configuration
......
...@@ -31,6 +31,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -31,6 +31,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-tina cms-tina-app npx create-next-app --example cms-tina cms-tina-app
# or # or
yarn create next-app --example cms-ghost cms-tina-app yarn create next-app --example cms-ghost cms-tina-app
# or
pnpm create next-app -- --example cms-ghost cms-tina-app
``` ```
### Setp 1. Run Next.js in development mode ### Setp 1. Run Next.js in development mode
......
...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -39,6 +39,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-umbraco-heartcore cms-umbraco-heartcore-app npx create-next-app --example cms-umbraco-heartcore cms-umbraco-heartcore-app
# or # or
yarn create next-app --example cms-umbraco-heartcore cms-umbraco-heartcore-app yarn create next-app --example cms-umbraco-heartcore cms-umbraco-heartcore-app
# or
pnpm create next-app -- --example cms-umbraco-heartcore cms-umbraco-heartcore-app
``` ```
## Configuration ## Configuration
......
...@@ -38,6 +38,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -38,6 +38,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example cms-wordpress cms-wordpress-app npx create-next-app --example cms-wordpress cms-wordpress-app
# or # or
yarn create next-app --example cms-wordpress cms-wordpress-app yarn create next-app --example cms-wordpress cms-wordpress-app
# or
pnpm create next-app -- --example cms-wordpress cms-wordpress-app
``` ```
## Configuration ## Configuration
......
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example custom-routes-proxying custom-routes-proxying-app npx create-next-app --example custom-routes-proxying custom-routes-proxying-app
# or # or
yarn create next-app --example custom-routes-proxying custom-routes-proxying-app yarn create next-app --example custom-routes-proxying custom-routes-proxying-app
# or
pnpm create next-app -- --example custom-routes-proxying custom-routes-proxying-app
``` ```
### Step 4. Run Next.js in development mode ### Step 4. Run Next.js in development mode
......
...@@ -13,6 +13,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -13,6 +13,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example custom-server-actionhero custom-server-actionhero-app npx create-next-app --example custom-server-actionhero custom-server-actionhero-app
# or # or
yarn create next-app --example custom-server-actionhero custom-server-actionhero-app yarn create next-app --example custom-server-actionhero custom-server-actionhero-app
# or
pnpm create next-app -- --example custom-server-actionhero custom-server-actionhero-app
``` ```
## How does this work? ## How does this work?
......
...@@ -18,4 +18,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,4 +18,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example custom-server-express custom-server-express-app npx create-next-app --example custom-server-express custom-server-express-app
# or # or
yarn create next-app --example custom-server-express custom-server-express-app yarn create next-app --example custom-server-express custom-server-express-app
# or
pnpm create next-app -- --example custom-server-express custom-server-express-app
``` ```
...@@ -20,4 +20,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -20,4 +20,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example custom-server-fastify custom-server-fastify-app npx create-next-app --example custom-server-fastify custom-server-fastify-app
# or # or
yarn create next-app --example custom-server-fastify custom-server-fastify-app yarn create next-app --example custom-server-fastify custom-server-fastify-app
# or
pnpm create next-app -- --example custom-server-fastify custom-server-fastify-app
``` ```
...@@ -18,4 +18,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,4 +18,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example custom-server-hapi custom-server-hapi-app npx create-next-app --example custom-server-hapi custom-server-hapi-app
# or # or
yarn create next-app --example custom-server-hapi custom-server-hapi-app yarn create next-app --example custom-server-hapi custom-server-hapi-app
# or
pnpm create next-app -- --example custom-server-hapi custom-server-hapi-app
``` ```
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example custom-server-koa custom-server-koa-app npx create-next-app --example custom-server-koa custom-server-koa-app
# or # or
yarn create next-app --example custom-server-koa custom-server-koa-app yarn create next-app --example custom-server-koa custom-server-koa-app
# or
pnpm create next-app -- --example custom-server-koa custom-server-koa-app
``` ```
## Side note: Enabling gzip compression ## Side note: Enabling gzip compression
......
...@@ -18,4 +18,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,4 +18,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example custom-server-polka custom-server-polka-app npx create-next-app --example custom-server-polka custom-server-polka-app
# or # or
yarn create next-app --example custom-server-polka custom-server-polka-app yarn create next-app --example custom-server-polka custom-server-polka-app
# or
pnpm create next-app -- --example custom-server-polka custom-server-polka-app
``` ```
...@@ -19,4 +19,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -19,4 +19,6 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example custom-server-typescript custom-server-typescript-app npx create-next-app --example custom-server-typescript custom-server-typescript-app
# or # or
yarn create next-app --example custom-server-typescript custom-server-typescript-app yarn create next-app --example custom-server-typescript custom-server-typescript-app
# or
pnpm create next-app -- --example custom-server-typescript custom-server-typescript-app
``` ```
...@@ -19,6 +19,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -19,6 +19,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example data-fetch data-fetch-app npx create-next-app --example data-fetch data-fetch-app
# or # or
yarn create next-app --example data-fetch data-fetch-app yarn create next-app --example data-fetch data-fetch-app
# or
pnpm create next-app -- --example data-fetch data-fetch-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -24,6 +24,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -24,6 +24,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example dynamic-routing dynamic-routing-app npx create-next-app --example dynamic-routing dynamic-routing-app
# or # or
yarn create next-app --example dynamic-routing dynamic-routing-app yarn create next-app --example dynamic-routing dynamic-routing-app
# or
pnpm create next-app -- --example dynamic-routing dynamic-routing-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example environment-variables environment-variables-app npx create-next-app --example environment-variables environment-variables-app
# or # or
yarn create next-app --example environment-variables environment-variables-app yarn create next-app --example environment-variables environment-variables-app
# or
pnpm create next-app -- --example environment-variables environment-variables-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example fast-refresh-demo fast-refresh-demo-app npx create-next-app --example fast-refresh-demo fast-refresh-demo-app
# or # or
yarn create next-app --example fast-refresh-demo fast-refresh-demo-app yarn create next-app --example fast-refresh-demo fast-refresh-demo-app
# or
pnpm create next-app -- --example fast-refresh-demo fast-refresh-demo-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -10,6 +10,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -10,6 +10,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example gh-pages gh-pages-app npx create-next-app --example gh-pages gh-pages-app
# or # or
yarn create next-app --example gh-pages gh-pages-app yarn create next-app --example gh-pages gh-pages-app
# or
pnpm create next-app -- --example gh-pages gh-pages-app
``` ```
### Deploy it to github ### Deploy it to github
......
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example head-elements head-elements-app npx create-next-app --example head-elements head-elements-app
# or # or
yarn create next-app --example head-elements head-elements-app yarn create next-app --example head-elements head-elements-app
# or
pnpm create next-app -- --example head-elements head-elements-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example headers headers-app npx create-next-app --example headers headers-app
# or # or
yarn create next-app --example headers headers-app yarn create next-app --example headers headers-app
# or
pnpm create next-app -- --example headers headers-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example hello-world hello-world-app npx create-next-app --example hello-world hello-world-app
# or # or
yarn create next-app --example hello-world hello-world-app yarn create next-app --example hello-world hello-world-app
# or
pnpm create next-app -- --example hello-world hello-world-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example i18n-routing i18n-app npx create-next-app --example i18n-routing i18n-app
# or # or
yarn create next-app --example i18n-routing i18n-app yarn create next-app --example i18n-routing i18n-app
# or
pnpm create next-app -- --example i18n-routing i18n-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example image-component image-app npx create-next-app --example image-component image-app
# or # or
yarn create next-app --example image-component image-app yarn create next-app --example image-component image-app
# or
pnpm create next-app -- --example image-component image-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example layout-component layout-component-app npx create-next-app --example layout-component layout-component-app
# or # or
yarn create next-app --example layout-component layout-component-app yarn create next-app --example layout-component layout-component-app
# or
pnpm create next-app -- --example layout-component layout-component-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example modularize-imports modularize-imports-app npx create-next-app --example modularize-imports modularize-imports-app
# or # or
yarn create next-app --example modularize-imports modularize-imports-app yarn create next-app --example modularize-imports modularize-imports-app
# or
pnpm create next-app -- --example modularize-imports modularize-imports-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example nested-components nested-components-app npx create-next-app --example nested-components nested-components-app
# or # or
yarn create next-app --example nested-components nested-components-app yarn create next-app --example nested-components nested-components-app
# or
pnpm create next-app -- --example nested-components nested-components-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example next-forms next-forms-app npx create-next-app --example next-forms next-forms-app
# or # or
yarn create next-app --example next-forms next-forms-app yarn create next-app --example next-forms next-forms-app
# or
pnpm create next-app -- --example next-forms next-forms-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -30,6 +30,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -30,6 +30,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example progressive-render progressive-render-app npx create-next-app --example progressive-render progressive-render-app
# or # or
yarn create next-app --example progressive-render progressive-render-app yarn create next-app --example progressive-render progressive-render-app
# or
pnpm create next-app -- --example progressive-render progressive-render-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example progressive-web-app progressive-web-app npx create-next-app --example progressive-web-app progressive-web-app
# or # or
yarn create next-app --example progressive-web-app progressive-web-app yarn create next-app --example progressive-web-app progressive-web-app
# or
pnpm create next-app -- --example progressive-web-app progressive-web-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example react-remove-properties react-remove-properties-app npx create-next-app --example react-remove-properties react-remove-properties-app
# or # or
yarn create next-app --example react-remove-properties react-remove-properties-app yarn create next-app --example react-remove-properties react-remove-properties-app
# or
pnpm create next-app -- --example react-remove-properties react-remove-properties-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example redirects redirects-app npx create-next-app --example redirects redirects-app
# or # or
yarn create next-app --example redirects redirects-app yarn create next-app --example redirects redirects-app
# or
pnpm create next-app -- --example redirects redirects-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example remove-console remove-console-app npx create-next-app --example remove-console remove-console-app
# or # or
yarn create next-app --example remove-console remove-console-app yarn create next-app --example remove-console remove-console-app
# or
pnpm create next-app -- --example remove-console remove-console-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example rewrites rewrites-app npx create-next-app --example rewrites rewrites-app
# or # or
yarn create next-app --example rewrites rewrites-app yarn create next-app --example rewrites rewrites-app
# or
pnpm create next-app -- --example rewrites rewrites-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example script-component script-component-app npx create-next-app --example script-component script-component-app
# or # or
yarn create next-app --example script-component script-component-app yarn create next-app --example script-component script-component-app
# or
pnpm create next-app -- --example script-component script-component-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example ssr-caching ssr-caching-app npx create-next-app --example ssr-caching ssr-caching-app
# or # or
yarn create next-app --example ssr-caching ssr-caching-app yarn create next-app --example ssr-caching ssr-caching-app
# or
pnpm create next-app -- --example ssr-caching ssr-caching-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example styled-jsx-with-csp styled-jsx-with-csp-app npx create-next-app --example styled-jsx-with-csp styled-jsx-with-csp-app
# or # or
yarn create next-app --example styled-jsx-with-csp styled-jsx-with-csp-app yarn create next-app --example styled-jsx-with-csp styled-jsx-with-csp-app
# or
pnpm create next-app -- --example styled-jsx-with-csp styled-jsx-with-csp-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example svg-components svg-components-app npx create-next-app --example svg-components svg-components-app
# or # or
yarn create next-app --example svg-components svg-components-app yarn create next-app --example svg-components svg-components-app
# or
pnpm create next-app -- --example svg-components svg-components-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example using-preact using-preact-app npx create-next-app --example using-preact using-preact-app
# or # or
yarn create next-app --example using-preact using-preact-app yarn create next-app --example using-preact using-preact-app
# or
pnpm create next-app -- --example using-preact using-preact-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
......
...@@ -19,6 +19,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -19,6 +19,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example using-router using-router-app npx create-next-app --example using-router using-router-app
# or # or
yarn create next-app --example using-router using-router-app yarn create next-app --example using-router using-router-app
# or
pnpm create next-app -- --example using-router using-router-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-absolute-imports with-absolute-imports-app npx create-next-app --example with-absolute-imports with-absolute-imports-app
# or # or
yarn create next-app --example with-absolute-imports with-absolute-imports-app yarn create next-app --example with-absolute-imports with-absolute-imports-app
# or
pnpm create next-app -- --example with-absolute-imports with-absolute-imports-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -10,6 +10,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -10,6 +10,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app npx create-next-app --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app
# or # or
yarn create next-app --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app yarn create next-app --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app
# or
pnpm create next-app -- --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app
``` ```
To set up Algolia: To set up Algolia:
......
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-ant-design with-ant-design-app npx create-next-app --example with-ant-design with-ant-design-app
# or # or
yarn create next-app --example with-ant-design with-ant-design-app yarn create next-app --example with-ant-design with-ant-design-app
# or
pnpm create next-app -- --example with-ant-design with-ant-design-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-aphrodite with-aphrodite-app npx create-next-app --example with-aphrodite with-aphrodite-app
# or # or
yarn create next-app --example with-aphrodite with-aphrodite-app yarn create next-app --example with-aphrodite with-aphrodite-app
# or
pnpm create next-app -- --example with-aphrodite with-aphrodite-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -20,6 +20,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -20,6 +20,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-apollo-and-redux with-apollo-and-redux-app npx create-next-app --example with-apollo-and-redux with-apollo-and-redux-app
# or # or
yarn create next-app --example with-apollo-and-redux with-apollo-and-redux-app yarn create next-app --example with-apollo-and-redux with-apollo-and-redux-app
# or
pnpm create next-app -- --example with-apollo-and-redux with-apollo-and-redux-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-apollo-neo4j-graphql with-apollo-neo4j-graphql-app npx create-next-app --example with-apollo-neo4j-graphql with-apollo-neo4j-graphql-app
# or # or
yarn create next-app --example with-apollo-neo4j-graphql with-apollo-neo4j-graphql-app yarn create next-app --example with-apollo-neo4j-graphql with-apollo-neo4j-graphql-app
# or
pnpm create next-app -- --example with-apollo-neo4j-graphql with-apollo-neo4j-graphql-app
``` ```
## Configuration ## Configuration
......
...@@ -24,6 +24,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -24,6 +24,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-apollo with-apollo-app npx create-next-app --example with-apollo with-apollo-app
# or # or
yarn create next-app --example with-apollo with-apollo-app yarn create next-app --example with-apollo with-apollo-app
# or
pnpm create next-app -- --example with-apollo with-apollo-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-app-layout with-app-layout-app npx create-next-app --example with-app-layout with-app-layout-app
# or # or
yarn create next-app --example with-app-layout with-app-layout-app yarn create next-app --example with-app-layout with-app-layout-app
# or
pnpm create next-app -- --example with-app-layout with-app-layout-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app npx create-next-app --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app
# or # or
yarn create next-app --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app yarn create next-app --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app
# or
pnpm create next-app -- --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app
``` ```
### Initialize and deploy the Amplify project ### Initialize and deploy the Amplify project
......
...@@ -17,6 +17,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -17,6 +17,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-aws-amplify nextjs-aws-amplify-app npx create-next-app --example with-aws-amplify nextjs-aws-amplify-app
# or # or
yarn create next-app --example with-aws-amplify nextjs-aws-amplify-app yarn create next-app --example with-aws-amplify nextjs-aws-amplify-app
# or
pnpm create next-app -- --example with-aws-amplify nextjs-aws-amplify-app
``` ```
### Initialize and deploy the Amplify project ### Initialize and deploy the Amplify project
......
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-babel-macros with-babel-macros-app npx create-next-app --example with-babel-macros with-babel-macros-app
# or # or
yarn create next-app --example with-babel-macros with-babel-macros-app yarn create next-app --example with-babel-macros with-babel-macros-app
# or
pnpm create next-app -- --example with-babel-macros with-babel-macros-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
......
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-carbon-components with-carbon-components-app npx create-next-app --example with-carbon-components with-carbon-components-app
# or # or
yarn create next-app --example with-carbon-components with-carbon-components-app yarn create next-app --example with-carbon-components with-carbon-components-app
# or
pnpm create next-app -- --example with-carbon-components with-carbon-components-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
......
...@@ -48,6 +48,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -48,6 +48,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-cerebral with-cerebral-app npx create-next-app --example with-cerebral with-cerebral-app
# or # or
yarn create next-app --example with-cerebral with-cerebral-app yarn create next-app --example with-cerebral with-cerebral-app
# or
pnpm create next-app -- --example with-cerebral with-cerebral-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-chakra-ui-typescript with-chakra-ui-typescript-app npx create-next-app --example with-chakra-ui-typescript with-chakra-ui-typescript-app
# or # or
yarn create next-app --example with-chakra-ui-typescript with-chakra-ui-typescript-app yarn create next-app --example with-chakra-ui-typescript with-chakra-ui-typescript-app
# or
pnpm create next-app -- --example with-chakra-ui-typescript with-chakra-ui-typescript-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
......
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-chakra-ui with-chakra-ui-app npx create-next-app --example with-chakra-ui with-chakra-ui-app
# or # or
yarn create next-app --example with-chakra-ui with-chakra-ui-app yarn create next-app --example with-chakra-ui with-chakra-ui-app
# or
pnpm create next-app -- --example with-chakra-ui with-chakra-ui-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
......
...@@ -20,6 +20,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -20,6 +20,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-clerk with-clerk-app npx create-next-app --example with-clerk with-clerk-app
# or # or
yarn create next-app --example with-clerk with-clerk-app yarn create next-app --example with-clerk with-clerk-app
# or
pnpm create next-app -- --example with-clerk with-clerk-app
``` ```
To run the example locally you need to: To run the example locally you need to:
......
...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -16,6 +16,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-compiled-css with-compiled-css-app npx create-next-app --example with-compiled-css with-compiled-css-app
# or # or
yarn create next-app --example with-compiled-css with-compiled-css-app yarn create next-app --example with-compiled-css with-compiled-css-app
# or
pnpm create next-app -- --example with-compiled-css with-compiled-css-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -24,6 +24,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -24,6 +24,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-context-api with-context-api-app npx create-next-app --example with-context-api with-context-api-app
# or # or
yarn create next-app --example with-context-api with-context-api-app yarn create next-app --example with-context-api with-context-api-app
# or
pnpm create next-app -- --example with-context-api with-context-api-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app npx create-next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app
# or # or
yarn create next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app yarn create next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app
# or
pnpm create next-app -- --example with-cookie-auth-fauna with-cookie-auth-fauna-app
``` ```
### Run locally ### Run locally
......
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-couchbase with-couchbase-app npx create-next-app --example with-couchbase with-couchbase-app
# or # or
yarn create next-app --example with-couchbase with-couchbase-app yarn create next-app --example with-couchbase with-couchbase-app
# or
pnpm create next-app -- --example with-couchbase with-couchbase-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
......
...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -18,6 +18,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-cssed with-cssed-app npx create-next-app --example with-cssed with-cssed-app
# or # or
yarn create next-app --example with-cssed with-cssed-app yarn create next-app --example with-cssed with-cssed-app
# or
pnpm create next-app -- --example with-cssed with-cssed-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ...@@ -22,6 +22,8 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
npx create-next-app --example with-custom-babel-config with-custom-babel-config-app npx create-next-app --example with-custom-babel-config with-custom-babel-config-app
# or # or
yarn create next-app --example with-custom-babel-config with-custom-babel-config-app yarn create next-app --example with-custom-babel-config with-custom-babel-config-app
# or
pnpm create next-app -- --example with-custom-babel-config with-custom-babel-config-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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