Skip to content

Commit

Permalink
chore(examples): fix CLI commands for MobX examples (#43534)
Browse files Browse the repository at this point in the history
Fixes #43512
  • Loading branch information
Haschikeks committed Nov 29, 2022
1 parent 524f992 commit f15b5d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions examples/with-mobx-state-tree/README.md
Expand Up @@ -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)).
10 changes: 5 additions & 5 deletions examples/with-mobx/README.md
Expand Up @@ -18,24 +18,24 @@ 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

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)).

0 comments on commit f15b5d0

Please sign in to comment.