# Setup aurelia-sortablejs with webpack

**URL:** <https://discourse.aurelia.io/t/setup-aurelia-sortablejs-with-webpack/1682>\
**Category:** Help Requests\
**Created:** [September 29, 2018, 9:13am UTC](https://discourse.aurelia.io/t/setup-aurelia-sortablejs-with-webpack/1682 "2018-09-29T09:13:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alternatex](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/alternatex/32/1540_2.png) [@alternatex](https://discourse.aurelia.io/u/alternatex)\
**Post date:** [September 29, 2018, 9:13am UTC](https://discourse.aurelia.io/t/setup-aurelia-sortablejs-with-webpack/1682/1 "2018-09-29T09:13:58Z")

</div>

I had used [aurelia-sortablejs](https://github.com/eriklieben/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](https://github.com/aurelia/webpack-plugin/wiki/Debugging-missing-modules#using-webpack-alias-config) but I guess it’s not the proper way.

Any ideas would be helpful. Thanks ahead.

---

<div class="post-metadata">

**Author:** ![alternatex](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/alternatex/32/1540_2.png) [@alternatex](https://discourse.aurelia.io/u/alternatex)\
**Post date:** [October 1, 2018, 11:29am UTC](https://discourse.aurelia.io/t/setup-aurelia-sortablejs-with-webpack/1682/2 "2018-10-01T11:29:17Z")

</div>

Nevermind. Decided to skip on aurelia-sortablejs and just implement it with the [sortablejs](https://github.com/RubaXa/Sortable) library itself.

---

<div class="post-metadata">

**Author:** ![huochunpeng](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@huochunpeng](https://discourse.aurelia.io/u/huochunpeng)\
**Post date:** [October 2, 2018, 10:43pm UTC](https://discourse.aurelia.io/t/setup-aurelia-sortablejs-with-webpack/1682/3 "2018-10-02T22:43:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zewa666](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/zewa666/32/19_2.png) [@zewa666](https://discourse.aurelia.io/u/zewa666)\
**Post date:** [October 3, 2018, 8:28am UTC](https://discourse.aurelia.io/t/setup-aurelia-sortablejs-with-webpack/1682/4 "2018-10-03T08:28:46Z")

</div>

This is fantastic. Super smooth dragging also on mobile

---

<div class="post-metadata">

**Author:** ![alternatex](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/alternatex/32/1540_2.png) [@alternatex](https://discourse.aurelia.io/u/alternatex)\
**Post date:** [October 4, 2018, 4:21pm UTC](https://discourse.aurelia.io/t/setup-aurelia-sortablejs-with-webpack/1682/5 "2018-10-04T16:21:37Z")

</div>

@huochunpeng I will definitely look into that.

---

<div class="post-metadata">

**Author:** ![erik.lieben](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/erik.lieben/32/619_2.png) [@erik.lieben](https://discourse.aurelia.io/u/erik.lieben)\
**Post date:** [October 8, 2018, 11:23am UTC](https://discourse.aurelia.io/t/setup-aurelia-sortablejs-with-webpack/1682/6 "2018-10-08T11:23:52Z")

</div>

Hi,

Sorry for the inconvenience.

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

Gr,

Erik
