vueuse / motion

🤹 Vue Composables putting your components in motion
https://motion.vueuse.org
MIT License
2.37k stars 82 forks source link

Need Nuxt 3.0.0-rc.11 support #86

Closed rizypb closed 9 months ago

rizypb commented 2 years ago

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
Redemption198 commented 2 years ago

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

mendrinos commented 2 years ago

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

Redemption198 commented 2 years ago

You are right useMotionControls is missing.

Edit:

I also tested the composables declared here: