Open
Description
I tried to make this gem work with Rails 6.0.2.2 (where the javascript have moved from assets/javascript to their own javascript folder - which is why the installer does not work)... without success
What I did is:
Modify javascript/packs/application.js
//= require jquery
//= require popper
//= require bootstrap-sprockets
//= require datatables
Create javascript/packs/datatables.js
//Core component
//= require datatables/jquery.dataTables
//Bootstrap4 theme
//= require datatables/dataTables.bootstrap4
And the datatables javascript is not loaded, which leads to the following:
$(...).DataTable is not a function TypeError: $ (...).DataTable is not a function
What should I do?
Metadata
Metadata
Assignees
Labels
No labels