Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15020 closed bug (notabug)

I don't know how to use sortable with the npm v1.12.0

Reported by: gajuro Owned by: gajuro
Priority: minor Milestone: none
Component: ui.sortable Version: 1.12.0
Keywords: Cc:
Blocked by: Blocking:

Description

With v1.10.5 all I do is:

$ = require('jquery')
require "jquery-ui/sortable"

With v1.12.0 I've tried:

$ = require('jquery')
require "jquery-ui/ui/widgets/sortable"

It doesn't work.

Change History (4)

comment:1 Changed 3 years ago by Jörn Zaefferer

Owner: set to gajuro
Status: newpending

Please provide more info about your setup, what exactly is failing (any output?) and whatever else can help us reproduce the issue.

Last edited 3 years ago by Jörn Zaefferer (previous) (diff)

comment:2 Changed 3 years ago by Scott González

Resolution: notabug
Status: pendingclosed

comment:3 in reply to:  2 Changed 3 years ago by gajuro

Replying to scottgonzalez:

Hi,

Why did you close this one? Is it too hard to give me an example of how to use the npm of the library?

comment:4 Changed 3 years ago by gajuro

This is what I had to do in my Meteor app to make sortable work:

require('jquery-ui/ui/widget')
require('jquery-ui/ui/scroll-parent')
require('jquery-ui/ui/data')
require('jquery-ui/ui/widgets/mouse')
require('jquery-ui/ui/ie')
require('jquery-ui/ui/widgets/sortable')
Note: See TracTickets for help on using tickets.