twig - Difference between {% block javascripts %} and {% javascripts %} in Symfony -
i started using twig instead of php templates , i've seen people use
{% block javascripts %} {% endblock %}
and sometimes
{% javascripts %} {% endjavascripts %}
are these 2 equivalent? 1 should use?
{% javascripts %} {% endjavascripts %}
is related assetic library
{% block javascripts %} {% endblock %}
is random block named javascripts
more here :
http://symfony.com/doc/current/cookbook/assetic/asset_management.html
Comments
Post a Comment