debian-mirror-gitlab/app/assets/javascripts/registry/explorer/graphql/index.js
2021-02-22 17:27:13 +05:30

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,
},
),
});