I would like to know how was it possible to insert code from Backbone / Underscore function in twig?
Here is my problem:
{{path('getArticle', {"id": <%= id %>})}}
I need to change this variable : <%= id %>
This does not work because Twig Parse before the Backbone code. So I do not know how to give a variable of this type?
Thank you in advance