refactor: migrate completely to urql

This commit is contained in:
Andrew Bastin
2022-02-02 00:33:34 +05:30
parent eae94e3dbf
commit 2df1c1c6ed
26 changed files with 748 additions and 1677 deletions

View File

@@ -1,15 +0,0 @@
import Vue from "vue"
import VueApollo from "vue-apollo"
import { apolloClient } from "~/helpers/apollo"
const vueApolloProvider = new VueApollo({
defaultClient: apolloClient as any,
})
Vue.use(VueApollo)
export default (ctx: any) => {
const { app } = ctx
app.apolloProvider = vueApolloProvider
}