grapesjs-echarts icon indicating copy to clipboard operation
grapesjs-echarts copied to clipboard

Can not use this plugin in a new react app

Open shkhalid opened this issue 2 years ago • 2 comments

I am getting the following error when use this plugin:

Uncaught TypeError: Cannot create property 'event' on string 'parallelAxisExpand'
    at Object.C [as registerAction] (echarts.js:2050:1)
    at Object.<anonymous> (parallelAxisAction.js:64:1)
    at e2 (bootstrap:19:1)

shkhalid avatar Jul 15 '22 18:07 shkhalid

Hi @shkhalid can I have some snippets on how you are using in on react, so I can help?

jvas28 avatar Jul 15 '22 19:07 jvas28

Hey @jvas28 thanks!

I just migrate my app from webpack to vite. The app starts working after commenting out this plugin.

shkhalid avatar Jul 15 '22 21:07 shkhalid