Skip to content

Commit 8019950

Browse files
authored
Update README.md
1 parent 12061cf commit 8019950

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,21 @@ yarn add --dev graphpack
2929

3030
### Add `src/schema.graphql` and `src/resolvers.js`
3131

32-
Add `src/schema.graphql` and add some example types in [SDL](https://graphql.org/learn/schema/#type-language):
32+
```
33+
src
34+
├── resolvers.js
35+
└── schema.graphql
36+
```
37+
38+
In your schema and add some sample types in [SDL](https://graphql.org/learn/schema/#type-language):
3339

3440
```graphql
3541
type Query {
3642
hello: String
3743
}
3844
```
3945

40-
Add `src/resolvers.js`:
46+
In `src/resolvers.js`:
4147

4248
```js
4349
const resolvers = {

0 commit comments

Comments
 (0)