can this project be added to jsdelivr.com
can this project be added to jsdelivr.com
Not a problem, just a thought: please add it to jsdelivr.com. Older versions were also hosted there.
Not a problem, just a thought: please add it to jsdelivr.com. Older versions were also hosted there.
Answers
It already is unless I'm missing something?
All of the extensions and styles are as well. For example this is AutoFill's Bootstrap 5 styling.
Allan
I seem to be missing the CSS, plugins and localizations though.
Search for
datatablesto see a list of all options. You will see datatables.net-dt which contains datatables.js and .css for the default styling. Or for Bootstrap 4, for example, you will see datatables.net-bs4.Not sure about plugins or localization files though. @allan can comment on those.
Kevin
Translation files available here.
Allan
Cheers.
https://cdn.jsdelivr.net/npm/datatables.net-dt@2.3.6/js/dataTables.dataTables.min.js
is not
https://cdn.jsdelivr.net/npm/datatables.net@2.3.6/js/dataTables.min.js
With the first I'm not able to get my tables working. Also not able to find the plugins? This one for example: https://cdn.datatables.net/plug-ins/2.3.6/filtering/type-based/accent-neutralise.js
You are right, they are not the same file. The files from the
-dt/-bs5/-bmetc packages are the styling files. DataTables is set to the DataTables styling by default, so thedataTables.dataTables.min.jsstyiling JS file does basically nothing.I would strongly suggest you use the download builder, select the files you need and make sure you deselect the "Concatenate" option. That will give you a list of the files you need. You can then look them up on jsdelivr.com. I will look at adding an option for JSDelivr to the download builder, but that will be in the next month or so - it is a good idea to add it, so thank you for that.
The one you mentioned is available here.
Allan
Why not simply just add this file to the CDN? https://cdn.datatables.net/2.3.6/css/dataTables.dataTables.css
To JSDelivr's CDN (I presume, since you linked to the file on my own CDN)? It's here.
JSDelivr just mirrors the NPM packages.
Allan