I need to add js file with jQuery syntax on a specific content type.
I tried on twig template but I get jQuery or $ not a function,
If I have js native syntax only, it is working great but not with jQuery syntax.
I think that this is not the right way to add a js depend jQuery file to a specific page.
I an wondering, What is the right way to do it?
Thanks a lot.