Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(examples): fix missed peer dependencies #26069

Merged
merged 6 commits into from
Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions examples/with-kea/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This example uses [kea](https://github.com/keajs/kea).

## Preview

Preview the example live on [StackBlitz](http://stackblitz.com/):

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-kea)

## Deploy your own

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
Expand Down
1 change: 1 addition & 0 deletions examples/with-kea/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"license": "MIT",
"devDependencies": {
"@babel/core": "7.14.5",
"@babel/plugin-proposal-decorators": "^7.1.0"
},
"babel": {
Expand Down
6 changes: 6 additions & 0 deletions examples/with-mobx-react-lite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ StoreProvider.js component is used to instantiate the `Store` both on the server

Both components are using a custom hook `useStore` to pull in the `Store` from the provider.

## Preview

Preview the example live on [StackBlitz](http://stackblitz.com/):

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-mobx-react-lite)

## Deploy your own

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
Expand Down
1 change: 1 addition & 0 deletions examples/with-mobx-react-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"react-dom": "^17.0.1"
},
"devDependencies": {
"@babel/core": "7.14.5",
"@babel/plugin-proposal-class-properties": "^7.1.0"
},
"license": "MIT"
Expand Down
6 changes: 6 additions & 0 deletions examples/with-mobx-state-tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ The trick here for supporting universal mobx is to separate the cases for the cl

The clock, under `components/Clock.js`, has access to the state using the `inject` and `observer` functions from `mobx-react`. In this case Clock is a direct child from the page but it could be deep down the render tree.

## Preview

Preview the example live on [StackBlitz](http://stackblitz.com/):

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-mobx-state-tree)

## Deploy your own

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
Expand Down
1 change: 1 addition & 0 deletions examples/with-mobx-state-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"react-dom": "^16.7.0"
},
"devDependencies": {
"@babel/core": "7.14.5",
"@babel/plugin-proposal-decorators": "^7.1.2"
},
"license": "MIT"
Expand Down
6 changes: 6 additions & 0 deletions examples/with-mobx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ The trick here for supporting universal mobx is to separate the cases for the cl

The clock, under `components/Clock.js`, has access to the state using the `inject` and `observer` functions from `mobx-react`. In this case Clock is a direct child from the page but it could be deep down the render tree.

## Preview

Preview the example live on [StackBlitz](http://stackblitz.com/):

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-mobx)

## Deploy your own

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
Expand Down
1 change: 1 addition & 0 deletions examples/with-mobx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"license": "MIT",
"devDependencies": {
"@babel/core": "7.14.5",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.0"
}
Expand Down