How do you install/configure datatables using webpack-encore?
How do you install/configure datatables using webpack-encore?
tacman1123
Posts: 198Questions: 46Answers: 1
I've done 'yarn add datatables.net', and I can see that it's loading, but the css isn't loading.
I'm sure it's a very basic configuration issue related to webpack.
Thanks!
This discussion has been closed.
Answers
Ah, I think I see now -- you need the bootstrap version to get the css:
require('datatables.net-bs');
Still, webpack-specific documentation on the installation page would be welcome!