15 lines
299 B
JavaScript
15 lines
299 B
JavaScript
import Vue from 'vue';
|
|
import VueApollo from 'vue-apollo';
|
|
import createDefaultClient from '~/lib/graphql';
|
|
|
|
Vue.use(VueApollo);
|
|
|
|
export const apolloProvider = new VueApollo({
|
|
defaultClient: createDefaultClient(
|
|
{},
|
|
{
|
|
batchMax: 1,
|
|
assumeImmutableResults: true,
|
|
},
|
|
),
|
|
});
|