You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installing package messes with vue 3 (uncaught type error) #286
When installing npm i -S vuedraggable@next I get uncaught type error and cant figure out why
chunk-A3UE5AZC.js?v=c5e91486:1342 Uncaught TypeError: RefImpl is not a constructor
at createRef (chunk-A3UE5AZC.js?v=c5e91486:1342:10)
at ref (chunk-A3UE5AZC.js?v=c5e91486:1333:10)
at chunk-4PLQB35L.js?v=c5e91486:10349:10
I really cant figure out why this package causes it to break vue.
Tried doing import with import draggable from 'vuedraggable';
The moment I remove the dependency from package json, the error goes away.
Activity
timothymarois commentedon Jun 13, 2025
I have found if I add to the vite config
This solves the dup vue being added from vue draggable.