-
Notifications
You must be signed in to change notification settings - Fork 71
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
Support for Vue3 #45
Comments
I wish I had read your comment earlier, I have been struggling with this library all day. |
Hello, any chance Vue 3 support will be forthcoming? Thanks! |
Hi, are there any changes since last post here? Is there support for Vue3? |
Is there support for Vue3? |
There's quite an easy workaround to get it working. Before loading "vueplotly.min.js" execute the following script: window.vueLegacyPlugins = {}
Vue.component = function(componentname, component) {
window.vueLegacyComponents[componentname] = component
} Then in your vue app add the following line after creating your app: app = Vue.createApp()
// legacy component support
app.component("plotly", vueLegacyComponents.plotly) |
Hello, at what level of the code does this part go in? |
This library does not work with Vue3.
Desperate need for support on vue3 as many are migrating from Vue2 to Vue3
The text was updated successfully, but these errors were encountered: