motion icon indicating copy to clipboard operation
motion copied to clipboard

Need Nuxt 3.0.0-rc.11 support

Open rizypb opened this issue 2 years ago • 3 comments

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

rizypb avatar Sep 30 '22 03:09 rizypb

I think it has already been fixed, you should try the beta version by running yarn add @vueuse/motion@beta

Redemption198 avatar Sep 30 '22 12:09 Redemption198

I still get: ReferenceError: useMotionControls is not defined among other APIs Seems there as missing lines in Types\imports.d.ts

mendrinos avatar Oct 04 '22 03:10 mendrinos

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

Redemption198 avatar Oct 04 '22 11:10 Redemption198