Closed petr-panek closed 9 months ago
Thanks for reporting!
This seems to be the duplicate of: https://github.com/highcharts/highcharts-vue/issues/256
It was related to a specific version of Vue which introduced a bug related to ref
. Please upgrade your Vue version and this problem will disappear.
Do not hesitate to ask in case you have any more questions.
But my Vue is on latest version 3.4.15
Freshly installed Vue 3.4.15 + Highcharts 11.3 + Highcharts-vue works OK. In my case it can be some issue with Quasar/Vite.
I had no issues with Highchart in Vue and Quasar till now. But after some upgrade (Vite / Vue?) this issue appears. In the build version, there is no error, but in DEV mode I'm facing this error:
I expected it's related to issue #256,, so I upgraded Vue to latest version 3.4.15 and Highcharts to 11.3.0, but error remains.
Chart are inserted in Vue template normal way:
Because the issue is only in DEV mode, I assume the problem maybe how Hightcharts are imported into Quasar. It's not imported in compoment, but in Quasar boot (in quasar.config.js and boot/highcharts.js). I tried to import Highchart-vue directly in component, instead of boot, but the result is the same, same errror message. Maybe the problem is in Highcharts itself.
Please any idea where can be problem?