activeadmin_sortable_table
activeadmin_sortable_table copied to clipboard
I need activeadmin_sortable_table for webpacker on Rails 6.
I'm migrating Rails 5 to Rails 6. Rails 6 is using webpacker. So I hope this gem will support Rails 6 and webpacker 4 project. Thanks!
as a workaround, I copied assets from the gem to the project's folder and imported them in the entrypoint.
I've got that working with the following:
import '../jquery'
import 'jquery-ui'
import 'jquery-ui/ui/disable-selection'
import 'jquery-ui/ui/scroll-parent'
import 'jquery-ui/ui/data'
import 'jquery-ui/ui/widgets/mouse'
import 'jquery-ui/ui/widgets/sortable'
import '@activeadmin/activeadmin'
import '../admin/activeadmin_sortable_table'