Replies: 2 comments 4 replies
|
I don't know about Framer now, but I know there has been no support for Preact in the past. Might be still the case ? |
|
Just found out this in the blog post :
So I run a little test for motion/react, and it works out of the box! islands/MotionDiv.tsx : <motion.button
type="button"
class={`bg-amber-400 p-4 rounded cursor-pointer`}
whileHover={{ scale: 1.1 }}
whileTap={{ scale: 0.95 }}
onHoverStart={() => console.log("hover started!")}
>
Triggerd by motion/react
</motion.button>Package version : "fresh": "jsr:@fresh/core@^2.3.3",
"motion": "npm:motion@^13.2.0", |
Uh oh!
There was an error while loading. Please reload this page.
When trying to use framer-motion in fresh, I used esm's alias trick
I get this error:
Anyone got an Idea on how to fix this?
All reactions