apexcharts / vue3-apexcharts

📊 Vue-3 component for ApexCharts
MIT License
314 stars 35 forks source link

Loading Vue3-ApexCharts in Nuxt 3.9 causes HMR to stop functioning #91

Closed KsaRedFx closed 9 months ago

KsaRedFx commented 10 months ago

Not sure why, but loading Vue3-ApexCharts into Nuxt 3.9 now causes hot-reloads to fail. I'm not sure what inside Vue3-ApexCharts is causing this specifically, as I see the main code hasn't changed in ~2 years

This is pretty frustrating, making Vue3-ApexCharts almost annoying enough to not be viable for me anymore...

I've also commented my findings in https://github.com/nuxt/nuxt/issues/24962

KsaRedFx commented 10 months ago

I'll also note that this plugin does the exact same thing if you try to use it as a component-local import instead of a global import.

KsaRedFx commented 10 months ago

Doing import VueApexCharts from 'vue3-apexcharts/src/vue3-apexcharts'; seems to allow Vue3ApexCharts to work as expected. It appears to be a problem with its install method inside index.js

Eldar-X commented 10 months ago

I had the same problem. My project is pure vue 3 - vite project but when I use apexchart hmr is not working. I've never seen this problem before, but the last hmr suddenly stopped working.

bhenn commented 10 months ago

Same here

AmosSzust commented 9 months ago

Same here

bekaku commented 9 months ago

I had the same problem. I used quasar and happened when I upgraded vue to 3.4.

AmosSzust commented 9 months ago

Any estimation on when this PR will be merged?

junedchhipa commented 9 months ago

Released vue3-apexcharts@1.5.0