Static GitHub Issues

[504] Integration vue-apollo

prev: Does it make sense to initialize the store in strict mode?
next: Middleware for a specific page not working.

The new version of vue-apollo (https://github.com/Akryum/vue-apollo#create-a-provider) needs to set up a provider:

const apolloProvider = new VueApollo({
  defaultClient: apolloClient,
})

new Vue({
  el: '#app',
  apolloProvider, // <---- provider
  render: h => h(App),
})

How can I do this using nuxt?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c437">#c437</a>)</em></sub></div>