Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82436

Issue with Bootstrap 5/npm repo

$
0
0

Running with Bootstrap 5 here. Perhaps I fat-fingered something, but after doing this:

npm install datatables.net

and

npm install datatables.net-bs

I noticed the pagination links were unstyled. According to npm, this is what I installed (1.10.24)

datatables.net-bs | DataTables for… | =datatables | 2021-03-09 | 1.10.24 | filter sort DataTables jQuery table Bootstrap

However, when I looked at node_modules/datatables.net-bs/js/dataTables.bootstrap.js it would appear that the js (at least) is for Bootstrap 3, not 5.

So, I pulled down the files from the CDN links here: https://datatables.net/examples/styling/bootstrap5.html

And those work fine. Am I missing something, or is the npm repo not reflecting the right files? Or perhaps the BS5 support is only available via CDN or direct download, not via the npm repo?

Thanks!


Viewing all articles
Browse latest Browse all 82436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>