14 lines
280 B
JavaScript
14 lines
280 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(
|
|
{},
|
|
{
|
|
assumeImmutableResults: true,
|
|
},
|
|
),
|
|
});
|