File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ ReactDOM.render(<Playground endpoint="https://api.graph.cool/simple/v1/swapi" />
90
90
yarn add graphql-playground-middleware
91
91
```
92
92
93
- #### Use
93
+ #### Usage
94
94
``` js
95
95
const express = require (' express' )
96
96
const bodyParser = require (' body-parser' )
@@ -135,7 +135,7 @@ See [packages/graphql-playground-middleware/examples/express](https://github.com
135
135
yarn add graphql-playground-middleware
136
136
```
137
137
138
- #### Use
138
+ #### Usage
139
139
``` js
140
140
const hapi = require (' hapi' )
141
141
const {graphqlHapi } = require (' apollo-server-hapi' )
@@ -206,7 +206,7 @@ See [packages/graphql-playground-middleware/examples/hapi](https://github.com/gr
206
206
yarn add graphql-playground-middleware
207
207
```
208
208
209
- #### Use
209
+ #### Usage
210
210
``` js
211
211
const koa = require (' koa' )
212
212
const koaRouter = require (' koa-router' )
@@ -255,8 +255,11 @@ See [packages/graphql-playground-middleware/examples/koa](https://github.com/gra
255
255
256
256
### As serverless handler
257
257
#### Install
258
+ ``` sh
259
+ yarn add graphql-playground-middleware
260
+ ```
258
261
259
- #### Use
262
+ #### Usage
260
263
` handler.js `
261
264
262
265
``` js
You can’t perform that action at this time.
0 commit comments