Skip to content

Commit

Permalink
fix: 🐛 fix bug of useMutation
Browse files Browse the repository at this point in the history
  • Loading branch information
wrzrmzx committed Feb 4, 2024
1 parent 049c460 commit f5a209a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/apollo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// https://github.com/nuxt-modules/apollo/issues/444#issuecomment-1354571194
import { provideApolloClient } from '@vue/apollo-composable'

export default defineNuxtPlugin(() => {
provideApolloClient(useApollo().clients!.default)
})

0 comments on commit f5a209a

Please sign in to comment.