-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assetic with twig #862
Comments
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 'css/*' debug=true %} ... {% endstylesheets %} Note that this snippet is using a |
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?The text was updated successfully, but these errors were encountered: