Skip to content

Commit 886fdb9

Browse files
author
Guillaume Chau
authored
Doc: Fixed client access in components
1 parent a4661da commit 886fdb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ new Vue({
9393
})
9494
```
9595

96-
You can access the [apollo-client](http://dev.apollodata.com/core/apollo-client-api.html) instance with `this.$apollo.client` in all your vue components.
96+
You can access the [apollo-client](http://dev.apollodata.com/core/apollo-client-api.html) instances with `this.$apollo.provider.defaultClient` or `this.$apollo.provider.clients.<key>` (for [Multiple clients](#multiple-clients)) in all your vue components.
9797

9898
## Queries
9999

0 commit comments

Comments
 (0)