Akryum / vue-cli-plugin-apollo

🚀 @vue/cli plugin for Vue Apollo
https://vue-cli-plugin-apollo.netlify.com/
479 stars 110 forks source link

Compatible with vue-cli-plugin-electron-builder typescript #405

Open zssng opened 4 years ago

zssng commented 4 years ago

I use vue-cli-plugin-electron-builder plugin to create a electron app,when i add vue-cli-plugin-apollo to the project,app show blank on start. It solved by remove import { createProvider } from './plugins/vue-apollo' and ' apolloProvider: createProvider(),' in the main.ts,so I am pretty sure it is relate to the plugin.

zssng commented 4 years ago

Found a workaround.