LiveDuo / destack

Page builder for Next.js 🅧. Zero-config deployment 🚀. React now supported!
MIT License
1.56k stars 314 forks source link

Grapesjs component turn into images #77

Closed icube-yuwan closed 1 year ago

icube-yuwan commented 1 year ago

When using grapesjs editor, everytime I drag & drop component, it will turn into images and got error like this image (21)

icube-yuwan commented 1 year ago

Also when using craft js editor on homepage, I got the same issue as https://github.com/LiveDuo/destack/issues/76#issue-1701967023

LiveDuo commented 1 year ago

@icube-yuwan Regarding the craft js bug, it's now fixed.

It was a bug introduced with refactoring rollup.config.js.

Just pushed a fix https://github.com/LiveDuo/destack/commit/3969fe731f2d0a990a4abbdea7f6e9aabf6601b3. Should work now.

LiveDuo commented 1 year ago

I couldn't reproduced the Grapes.js bug on my machine. It's should only happen on a different version of Node.js or a different OS than mine or something else in the environment that I'm not aware of.

Does it happen with npm i destack or with git clone?