- First commit to issue fork.
- 🇦🇺Australia nigelcunningham Geelong
I've pushed a MR with work I've done to get responsive datatables working locally. This is a work in progress but I thought I'd share where I've gotten to - perhaps it will save someone else some hours of time. The composer.json isn't working for me - I needed to (in the root directory) run composer require with the following versions, using Asset Packagist support.
"npm-asset/datatables.net-dt": "^2.2.2",
"npm-asset/datatables.net-responsive": "^3.0.3",
"npm-asset/datatables.net-responsive-dt": "^3.0.3",I also needed to explicitly set installer-paths (the Wikimedia merge plugin didn't work for me and is apparently deprecated anyway):
"web/libraries/{$name}": [
"type:drupal-library",
"type:npm-asset",
"type:bower-asset",
"npm-asset/datatables.net",
"npm-asset/datatables.net-dt",
"npm-asset/datatables.net-responsive",
"npm-asset/datatables.net-responsive-dt"
],