Error in directive sortable bind hook: “TypeError: Sortable is not a constructor – Vuejs

The code is so simple to fix issue, just put this shit into your project and get it work for Vue 2:

Install dependency of SortableJs

Create sortable directive and used like this:

Full example code here:


Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Harinder Singh

Harinder Singh

My name is Harinder Singh and I specialize in Software industry. I consider myself as a life learner. I love learning new concepts, embracing new ideas and reading and searching for innovation.