Open ktecho opened 6 months ago
If I change this in file SortableList.svelte
:
import Sortable, { MultiDrag, Swap } from 'sortablejs';
to this:
import Sortable from 'sortablejs';
const {MultiDrag, Swap} = Sortable;
It works perfectly.
i get this error in browser :
@jhubbardsf Can you confirm if the project is unmaintained?
yes i think so
@ktecho found any fix?
@ktecho found any fix?
When I build the app, it works as it is. But in my development environment, I have to make the change from comment 2.
Either @jhubbardsf releases a new version with this change, or you have to do it by hand. Someone could also fork the project, do the change and release a new version.
After upgrading to Svelte 4, Typescript 5, Vite 5, I'm getting this error:
So I guess some small changes are needed in the way that
sortablejs
is used?