leandrocfe / filament-apex-charts

Apex Charts integration for Filament PHP.
https://filament-apex-charts-demo.leandroferreira.dev.br
MIT License
286 stars 36 forks source link

ApexCharts is not defined after update #60

Closed pieczarkazsolt closed 5 months ago

pieczarkazsolt commented 5 months ago

Hi,

I updated the filament a few weeks ago and i got an error in chrome console

Uncaught ReferenceError: ApexCharts is not defined at Proxy.init (eval at safeAsyncFunction (livewire.js?id=e2b302e9:1249:21), <anonymous>:16:38) at livewire.js?id=e2b302e9:1235:25 at tryCatch (livewire.js?id=e2b302e9:1191:14) at evaluate (livewire.js?id=e2b302e9:1215:34) at Function.<anonymous> (livewire.js?id=e2b302e9:3479:29) at flushHandlers (livewire.js?id=e2b302e9:1353:48) at stopDeferring (livewire.js?id=e2b302e9:1358:7) at deferHandlingDirectives (livewire.js?id=e2b302e9:1361:5) at initTree (livewire.js?id=e2b302e9:876:5) at livewire.js?id=e2b302e9:824:23

and the charts do not appear. the updated versions:

I was waiting for a newer version, I just updated to these:

but the error is the same.

can you help me to find the error?

thanks

leandrocfe commented 5 months ago

Hi! Did you publish the views? Try to delete it

pieczarkazsolt commented 5 months ago

ooo great, thanks, it was the problem. i deleted the views and it works properly.