How can I use useDragControls
eriksachse opened this issue · comments
When using import { useDragControls } from "svelte-motion"
it tells me Failed to fetch dynamically imported module http://127.0.0.1:5173/node_modules/@sveltejs/kit/src/runtime/client/start.js
The only thing I can import is import Motion from "svelte-motion/src/motion/MotionSSR.svelte"
but I don't understand why. Can I help with this Repository in any way? Or is it simply not possible?
Interesting, sounds like a problem with vite dev mode. I'll try to replicate the problem.
I'm happy to receive pull requests.
Oh alright, I might look into that. I was unsure if there is any compilations because of the new SvelteKit and Framer simply not handling this library. It uses popmotion to handle all the animations, right?