Skip to content

Commit f60cf4d

Browse files
author
Guillaume Chau
committed
docs: better first query example
1 parent d25793d commit f60cf4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/apollo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import gql from 'graphql-tag'
2222
export default {
2323
apollo: {
2424
// Simple query that will update the 'hello' vue property
25-
hello: gql`{hello}`,
25+
hello: gql`query { hello }`,
2626
},
2727
}
2828
```

0 commit comments

Comments
 (0)