Setup aurelia-sortablejs with webpack


#1

I had used aurelia-sortablejs in my project which I bundled using the Aurelia CLI. Recently I moved that project to webpack and I’ve ironed out most of the migration issues but I can’t make aurelia-sortablejs work. I have no console errors but it doesn’t do anything. I’ve registered it in this manner but I guess it’s not the proper way.

Any ideas would be helpful. Thanks ahead.


#2

Nevermind. Decided to skip on aurelia-sortablejs and just implement it with the sortablejs library itself.


#3

If you just need simple reordering, have a look of https://buttonwoodcx.github.io/doc-bcx-aurelia-dnd/#/reorderable-repeat


#4

This is fantastic. Super smooth dragging also on mobile


#5

@huochunpeng I will definitely look into that.


#6

Hi,

Sorry for the inconvenience.

The latest version of the plugin (1.1.0) should work in webpack.

Gr,

Erik