Does it work with Vue 3 ?
See original GitHub issuei could not make the example works on Vue 3 :
"core-js": "^3.6.5", "vue": "^3.0.0-0", "vue-plotly": "^1.1.0"
runtime-core.esm-bundler.js?5c40:38 [Vue warn]: Property "$createElement" was accessed during render but is not defined on instance. at <Plotly data= [{…}, __v_reactive: Proxy] layout= {title: "Plot update test", __v_reactive: Proxy} > at <App>
and
runtime-core.esm-bundler.js?5c40:496 TypeError: Cannot read property '_c' of undefined at Proxy.render (vue-plotly.umd.js?04d1:209952) at renderComponentRoot (runtime-core.esm-bundler.js?5c40:529) at componentEffect (runtime-core.esm-bundler.js?5c40:4214) at reactiveEffect (reactivity.esm-bundler.js?a1e9:42) at effect (reactivity.esm-bundler.js?a1e9:17) at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4197) at mountComponent (runtime-core.esm-bundler.js?5c40:4155) at processComponent (runtime-core.esm-bundler.js?5c40:4111) at patch (runtime-core.esm-bundler.js?5c40:3761) at mountChildren (runtime-core.esm-bundler.js?5c40:3924)
Otherwise, great project, thanks again !
Issue Analytics
- State:
- Created 3 years ago
- Reactions:15
- Comments:5
Top GitHub Comments
I am using Vite + Vue 3. Did anyone figure out a simple workaround?
Well done!