activeadmin_sortable_table icon indicating copy to clipboard operation
activeadmin_sortable_table copied to clipboard

I need activeadmin_sortable_table for webpacker on Rails 6.

Open gg7star opened this issue 4 years ago • 1 comments

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!

gg7star avatar Apr 05 '20 22:04 gg7star

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'

Kukunin avatar Aug 25 '22 13:08 Kukunin