-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError : fullLayout is undefined #23
Comments
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ?
The text was updated successfully, but these errors were encountered: