Hey! Using the Assetic {% stylesheets 'bundles ...%} expression produces: Unexpected "stylesheets" tag (expecting closing tag for the "block" tag defined near line 7) in ::base.html.twig at line 7. using Symfony 2.8.
I think I know the problem. The {% stylesheets 'bundles ...%} tag comes from Assetic bundle, but starting from Symfony 2.8, Assetic is no longer included by default in the Symfony Standard Edition. So you need to install it with Composer and enable it in your AppKernel manually. Check the docs please.
Cheers!
Please, log in to vote for this comment
|
Share Comment
"Houston: no signs of life" Start the conversation!
2 Comments
Hey!
Using the Assetic {% stylesheets 'bundles ...%} expression produces:
Unexpected "stylesheets" tag (expecting closing tag for the "block" tag defined near line 7) in ::base.html.twig at line 7.
using Symfony 2.8.
Thanks in advance!
Hey Max,
I think I know the problem. The {% stylesheets 'bundles ...%} tag comes from Assetic bundle, but starting from Symfony 2.8, Assetic is no longer included by default in the Symfony Standard Edition. So you need to install it with Composer and enable it in your AppKernel manually. Check the docs please.
Cheers!
"Houston: no signs of life"
Start the conversation!