Nuxt/examples/vue-apollo/nuxt.config.js

10 lines
251 B
JavaScript
Raw Normal View History

2017-04-14 10:52:27 +00:00
module.exports = {
build: {
vendor: ['vue-apollo', 'apollo-client']
},
plugins: [
2017-05-10 15:53:16 +00:00
// Will inject the plugin in the $root app and also in the context as `apolloProvider`
2017-04-14 10:52:27 +00:00
{ src: '~plugins/apollo.js', injectAs: 'apolloProvider' }
]
}