I am starting to be comfortable with Symfony and the MVC model. But, I would like to know which is the best way to install and Datables with symfony.
First of all, I try to avoid downloading manualy Js plugins and put all of them in my Src/Bundle/Ressources/Js/. I want to download them with composer.
For instance, I went to Packagist.org and download this : https://packagist.org/packages/datatables/datatables. By exécuting the command : composer require datatables/datatables.
The problem is composer placed this package in the vendor folder.
I want to know which the cleanest and the best way to include the js in my twig page.
Can anyone manianc like me (actualy anyone) can help me with solution, a walkthough.... ? :P
Thanks a lot in advance Good day