Skip to content

Commit 9a330b7

Browse files
committed
Readme
1 parent b4392b6 commit 9a330b7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Integrates [apollo](http://www.apollostack.com/) in your vue components with dec
1515

1616
```javascript
1717
import Vue from 'vue';
18-
import ApolloClient, { createNetworkInterface, addTypename } from 'apollo-client';
18+
import ApolloClient, { createNetworkInterface } from 'apollo-client';
1919
import VueApollo from 'vue-apollo';
2020

2121
// Create the apollo client
@@ -24,7 +24,6 @@ const apolloClient = new ApolloClient({
2424
uri: 'http://localhost:8080/graphql',
2525
transportBatching: true,
2626
}),
27-
queryTransformer: addTypename,
2827
});
2928

3029
// Install the vue plugin
@@ -68,7 +67,7 @@ apollo: {
6867
},
6968
```
7069

71-
Don't forget to initialize your property in your vue component:
70+
You can initialize the property in your vue component's `data` hook:
7271

7372
```javascript
7473
data () {
@@ -173,7 +172,7 @@ apollo: {
173172
},
174173
```
175174

176-
Don't forget to initialize your property in your vue component:
175+
Again, you can initialize your property in your vue component:
177176

178177
```javascript
179178
data () {

0 commit comments

Comments
 (0)