daybrush / moveable

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!
https://daybrush.com/moveable/
MIT License
10.08k stars 618 forks source link

Example doesn't work with SvelteKit #513

Closed bostondevin closed 3 years ago

bostondevin commented 3 years ago

I get this error with svelte kit when simply doing:

import Moveable from "svelte-moveable";

Error:

is not a valid SSR component. should your moveable library go into devDependencies?
corey34 commented 3 years ago

Same issue here. Did you ever figure it out?

daybrush commented 3 years ago

@bostondevin @corey34

svelte-moveable 0.18.1 is released. Check it again.

zgagnon commented 2 years ago

Continuing to see this on svelte-movable 0.19.2.

<Moveable> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules

daybrush commented 2 years ago

@zgagnon

0.19.3 is released. Check it again.