Open nimasdj opened 6 years ago
This is not a bug or an issue, it's a usability concern.
Please go to Stack overflow / IRC for help
Well, you are using
{% stylesheets 'css/*' debug=true %} ... {% stylesheets %}
This opens 2 {% stylesheets %}
tags. I think what you wanted is actually this:
{% stylesheets 'css/*' debug=true %} ... {% endstylesheets %}
Note that this snippet is using a {% endstylesheets %}
tag for the end, not a {% stylesheets %}
one.
Thanks @stof I corrected it, I don't get error, but I don't yet get the css from Assetic-Bundle. when I do echo $css->dump() it works fine. but how to have it in twig?
Any advise to this? https://stackoverflow.com/questions/47098705/how-to-use-assetic-with-twig
Did you find the solution?
I want to use Assetic with standalone Twig but I am a bit confused. I use code below and it works fine when I echo it but in standalone twig when I have
{% stylesheets 'css/*' debug=true %} ... {% stylesheets %}
I getError 0: Unexpected token "end of template" of value "" ("end of statement block" expected).
What wrong I did?