From 4604c6a316bac68f54b47b179ba7d28a5263b3ee Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 29 Nov 2022 17:48:49 +0100 Subject: [PATCH 1/3] Update README.md Update `How to use` examples. --- examples/with-mobx/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/with-mobx/README.md b/examples/with-mobx/README.md index 80fd5d8791fc..8b16e4ced511 100644 --- a/examples/with-mobx/README.md +++ b/examples/with-mobx/README.md @@ -27,15 +27,15 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example: ```bash -npx create-next-app --example with-mobx-react-lite with-mobx-react-lite-app +npx create-next-app --example with-mobx with-mobx-app ``` ```bash -yarn create next-app --example with-mobx-react-lite with-mobx-react-lite-app +yarn create next-app --example with-mobx with-mobx-app ``` ```bash -pnpm create next-app --example with-mobx-react-lite with-mobx-react-lite-app +pnpm create next-app --example with-mobx with-mobx-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)). From f862081817e9e7a1a7c151546140ce657eba2ebc Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 29 Nov 2022 17:53:39 +0100 Subject: [PATCH 2/3] Update external url with correct example name --- examples/with-mobx/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/with-mobx/README.md b/examples/with-mobx/README.md index 8b16e4ced511..ce9249d25148 100644 --- a/examples/with-mobx/README.md +++ b/examples/with-mobx/README.md @@ -18,9 +18,9 @@ Both components are using a custom hook `useStore` to pull in the `Store` from t ## Deploy your own -Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-mobx-react-lite) +Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-mobx) -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-mobx-react-lite&project-name=with-mobx-react-lite&repository-name=with-mobx-react-lite) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-mobx&project-name=with-mobx&repository-name=with-mobx) ## How to use From fe8903b5883812a39ada1b40915b2e409cef6966 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 29 Nov 2022 18:04:05 +0100 Subject: [PATCH 3/3] Update with-mobx-state-tree example README.md Update external links & create commands --- examples/with-mobx-state-tree/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/with-mobx-state-tree/README.md b/examples/with-mobx-state-tree/README.md index 5c169956f27c..1ddea3285d03 100644 --- a/examples/with-mobx-state-tree/README.md +++ b/examples/with-mobx-state-tree/README.md @@ -12,24 +12,24 @@ The clock, under `components/Clock.js`, has access to the state using the `injec ## Deploy your own -Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-mobx-state-tree-typescript) +Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-mobx-state-tree) -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-mobx-state-tree-typescript&project-name=with-mobx-state-tree-typescript&repository-name=with-mobx-state-tree-typescript) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-mobx-state-tree&project-name=with-mobx-state-tree&repository-name=with-mobx-state-tree) ## How to use Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example: ```bash -npx create-next-app --example with-mobx-state-tree-typescript with-mobx-state-tree-typescript-app +npx create-next-app --example with-mobx-state-tree with-mobx-state-tree-app ``` ```bash -yarn create next-app --example with-mobx-state-tree-typescript with-mobx-state-tree-typescript-app +yarn create next-app --example with-mobx-state-tree with-mobx-state-tree-app ``` ```bash -pnpm create next-app --example with-mobx-state-tree-typescript with-mobx-state-tree-typescript-app +pnpm create next-app --example with-mobx-state-tree with-mobx-state-tree-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)).