Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use useDragControls #34

Open
eriksachse opened this issue Apr 28, 2023 · 2 comments
Open

How can I use useDragControls #34

eriksachse opened this issue Apr 28, 2023 · 2 comments

Comments

@eriksachse
Copy link

eriksachse commented Apr 28, 2023

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?

@micha-lmxt
Copy link
Owner

Interesting, sounds like a problem with vite dev mode. I'll try to replicate the problem.

I'm happy to receive pull requests.

@eriksachse
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants