Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
(examples): fix missed peer dependencies (vercel#26069)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Mineev authored Jun 14, 2021
1 parent f47ee59 commit b42cc72
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 0 deletions.
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

0 comments on commit b42cc72

Please sign in to comment.