Open benjaminh opened 4 years ago
Seems that I also have similar trouble, when I use vue-cli-plugin-electron-builder to help me build an app. vue-plotly works well under npm run electron:server
mode, however, it turns out that pages containing vue-plotly are all blank as a result of application create by npm run electron:build
. I guess there is some conflict between vue-plotly and chunk-vendors.
Hello,
I'm using vue-plotly for simple plots but I get a recurrent error in console :
I've managed to reduce my component to a minimal example to help you reproduce the error and hopefully guide me through the resolution of this issue.
Here is my component
MyPlot.vue
:The mounting part may be overkill but this is relevant to my use case as I call my Vuex store and do some processing before plotting data. It looks like the problem comes from the combination of the
v-if
/v-else
template, and the way I load my data using promise. Indeed, removing one part or the other seems to work. What vue-plotly is complaining about ? Sorry if this is a rookie error, I'm still learning vuejs.Any ideas to solve/investigate this error ?