symfony - Correct assetic 'filter' syntax? -
where correct place put 'filter=...' parameter?
i've seen before / after / in between files referenced, not sure if location makes difference.
moreover, possible apply different filters different files within 1 {% stylesheets ... %}
section? example.. have 'xxx' apply both files, 'yyy' apply only a.css & 'zzz' apply only b.css
{% stylesheets filter='xxx' 'path/to/a.css' filter='yyy' 'path/to/b.css' filter='zzz' %}<link rel="stylesheet" type="text/css" href="{{ asset_url }}" /> {% endstylesheets %}
as stated in docs, should after file list: http://symfony.com/doc/current/cookbook/assetic/asset_management.html#filters , has no importance.
to mind can't apply different filters different files in same tag.
Comments
Post a Comment