Open vrandeshbandikatti opened 2 years ago
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)
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 }
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