-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Nuxt 3 module: Custom directive not working - using example from docs #131
Comments
@PatrikBird |
Oh okay sorry. I messed the repro... it's corrected now and I can't get it working either.. same error. I declared this: motion: {
directives: {
'pop-bottom': {
... I use it like this: <div v-motion-pop-bottom> And get this: Appreciate your quick response! |
This also doesn't work for me. Same exact example code from above. No animation is triggered whatsoever |
It looks hardly maintained. The fix never got released |
Hello there,
thanks for creating such an amazing library! I love it ❤️.
I'm not able to create custom directives in Nuxt using the example mentioned in the docs:
When I try to use the custom directive like:
I get the following error:
[Vue warn]: Failed to resolve directive: motion-bottom-pop
Using presets works without any issue.
I recreated the issue here: https://stackblitz.com/edit/nuxt-starter-7pqo1q?file=app.vue
Nuxt: 3.5.2
Vueuse/motion: 2.0
The text was updated successfully, but these errors were encountered: