module.exports = {
  build: {
    vendor: ['vue-apollo', 'apollo-client']
  },
  router: {
    middleware: 'apollo'
  },
  plugins: [
    // Will inject the plugin in the $root app and also in the context as `i18n`
    { src: '~plugins/apollo.js', injectAs: 'apolloProvider' }
  ]
}

module.exports = {
  build: {
    vendor: ['vue-apollo', 'apollo-client']
  },
  router: {
    middleware: 'apollo'
  },
  plugins: [
    // Will inject the plugin in the $root app and also in the context as `apolloProvider`
    { src: '~plugins/apollo.js', injectAs: 'apolloProvider' }
  ]
}

Fix copy paste typo in the comments
Fix copy paste typo in the comments