build: update deps a bit

This commit is contained in:
2021-11-19 20:20:04 +01:00
parent ae44353e40
commit 05ba1b6757
4 changed files with 1071 additions and 1238 deletions
+4 -6
View File
@@ -6,9 +6,7 @@ import {
import { createHttpLink } from 'apollo-link-http'
import { setContext } from 'apollo-link-context'
import { provide } from '@vue/composition-api'
import { onGlobalSetup } from 'nuxt-composition-api'
import { DefaultApolloClient } from '@vue/apollo-composable'
import Vue from 'vue'
import introspectionQueryResultData from '../fragmentTypes.json'
import { useAuth } from './auth'
@@ -54,8 +52,8 @@ const instance = new ApolloClient({
}
})
Vue.use(() => {
onGlobalSetup(() => {
export default function ({app}) {
app.setup = () => {
provide(DefaultApolloClient, instance)
})
})
}
}