motion
motion copied to clipboard
Need Nuxt 3.0.0-rc.11 support
I am currently using Nuxt 3 rc version 11 and found this issue while running the app locally using yarn dev
:
Module @vueuse/motion is disabled due to incompatibility issues:
- [nuxt] Nuxt version `>=3.0.0` is required but currently using `3.0.0-rc.11`
And also:
[Vue warn]: Failed to resolve directive: motion
[nuxt] [request error] [unhandled] [500] Cannot read property 'getSSRProps' of undefined
I think it has already been fixed, you should try the beta version by running yarn add @vueuse/motion@beta
I still get: ReferenceError: useMotionControls is not defined among other APIs Seems there as missing lines in Types\imports.d.ts
You are right useMotionControls
is missing.
Edit:
I also tested the composables declared here:
-
reactiveStyle
Not found -
reactiveTransform
Not found -
useElementStyle
Ok -
useElementTransform
Ok -
useMotion
Ok -
useMotionControls
Not found -
useMotionProperties
Ok -
useMotions
Not found -
useMotionTransitions
Not found -
useMotionVariants
Ok -
useSpring
Ok -
useReducedMotion
Not found