@@ -46,6 +46,7 @@ Integrates [apollo](http://www.apollodata.com/) in your [Vue](http://vuejs.org)
4646- [ Skip all] ( #skip-all )
4747- [ Multiple clients] ( #multiple-clients )
4848- [ Server-Side Rendering] ( #server-side-rendering )
49+ - [ Migration] ( #migration )
4950- [ API Reference] ( #api-reference )
5051
5152## Installation
@@ -1501,29 +1502,29 @@ The main changes are related to the apollo client setup. Your components code sh
15011502
15021503#### Packages
15031504
1504- ** Before**
1505+ Before:
15051506
15061507```
15071508npm install --save vue-apollo apollo-client
15081509```
15091510
1510- ** After**
1511+ After:
15111512
15121513```
15131514npm install --save vue-apollo@next graphql apollo-client apollo-link apollo-link-http apollo-cache-inmemory graphql-tag
15141515```
15151516
15161517#### Imports
15171518
1518- ** Before**
1519+ Before:
15191520
15201521``` js
15211522import Vue from ' vue'
15221523import { ApolloClient , createBatchingNetworkInterface } from ' apollo-client'
15231524import VueApollo from ' vue-apollo'
15241525```
15251526
1526- ** After**
1527+ After:
15271528
15281529``` js
15291530import Vue from ' vue'
@@ -1535,7 +1536,7 @@ import VueApollo from 'vue-apollo'
15351536
15361537#### Plugin Setup
15371538
1538- ** Before**
1539+ Before:
15391540
15401541``` js
15411542// Create the apollo client
@@ -1550,7 +1551,7 @@ const apolloClient = new ApolloClient({
15501551Vue .use (VueApollo)
15511552```
15521553
1553- ** After**
1554+ After:
15541555
15551556``` js
15561557const httpLink = new HttpLink ({
@@ -1577,27 +1578,27 @@ Query reducers have been removed. Use the `update` API to update the cache now.
15771578
15781579#### Packages
15791580
1580- ** Before**
1581+ Before:
15811582
15821583```
15831584npm install --save subscriptions-transport-ws
15841585```
15851586
1586- ** After**
1587+ After:
15871588
15881589```
15891590npm install --save apollo-link-ws apollo-utilities
15901591```
15911592
15921593#### Imports
15931594
1594- ** Before**
1595+ Before:
15951596
15961597``` js
15971598import { SubscriptionClient , addGraphQLSubscriptions } from ' subscriptions-transport-ws'
15981599```
15991600
1600- ** After**
1601+ After:
16011602
16021603``` js
16031604import { split } from ' apollo-link'
@@ -1607,7 +1608,7 @@ import { getMainDefinition } from 'apollo-utilities'
16071608
16081609#### Apollo Setup
16091610
1610- ** Before**
1611+ Before:
16111612
16121613``` js
16131614// Create the network interface
@@ -1637,7 +1638,7 @@ const apolloClient = new ApolloClient({
16371638Vue .use (VueApollo)
16381639```
16391640
1640- ** After**
1641+ After:
16411642
16421643``` js
16431644const httpLink = new HttpLink ({
0 commit comments