sagalbot / vue-sortable

A lightweight directive for reorderable drag-and-drop lists using RubaXa/Sortable
http://sagalbot.github.io/vue-sortable/
MIT License
721 stars 104 forks source link

Sortable is not a constructor #43

Closed BeycanDeveloper closed 3 years ago

BeycanDeveloper commented 3 years ago
import Sortable from 'vue-sortable'

Vue.use(Sortable)

This is how I used it and got the error in the title.

boygiandi commented 3 years ago

Same here

BeycanDeveloper commented 3 years ago

Dude, this plugin is for vue 1 so we get errors? I used the one below on Vue 2. So if you're using something other than vue 1, it's normal to get an error.

https://github.com/SortableJS/Vue.Draggable