Skip to content
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

Unable to use leave in jsx file #180

Open
cdwmhcc opened this issue Feb 28, 2024 · 0 comments
Open

Unable to use leave in jsx file #180

cdwmhcc opened this issue Feb 28, 2024 · 0 comments

Comments

@cdwmhcc
Copy link

cdwmhcc commented Feb 28, 2024

System info


  • Operating System: Windows_NT
  • Node Version: v20.11.1
  • Nuxt Version: 3.10.3
  • CLI Version: 3.10.1
  • Nitro Version: 2.8.1
  • Package Manager: [email protected]
  • Builder: -
  • User Config: runtimeConfig, alias, css, imports, components, modules, i18n, colorMode, hooks, watch, vite, devtools
  • Runtime Modules: @nuxtjs/[email protected], @nuxtjs/[email protected], @vueuse/motion/[email protected]
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/nuxt-starter-5dyhhf?file=pages%2Findex.tsx

Describe the bug

https://motion.vueuse.org/features/variants#leave
JSX: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'leave')

In vue file it is working.

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant