[Vue] Switch component suddenly stopped working #1637
Unanswered
giusepetroso
asked this question in
Help
Replies: 1 comment
-
Same problem (#1827) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
maybe it's just me messed up something but in a vue/vite app Switch component suddenly stopped working, throwing this error in console:
Uncaught TypeError: Cannot read properties of undefined (reading 'switchRef')
I just commented out everything else from my main app component and pasted just the example code of the Switch to understand what was happening, but I can't find a way to get it work


Version:
@headlessui/vue: "^1.6.5"
I can't figure out what is wrong, hope you can help me.
If you need some additional info let me know.
Thanks,
Giuse
Beta Was this translation helpful? Give feedback.
All reactions