You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Symfony 2.8, the AsseticBundle is no longer included in the Symfony Standard Edition. If you want to use Assetic, you have to install & register it:
Execute this command: composer require symfony/assetic-bundle
Add new Symfony\Bundle\AsseticBundle\AsseticBundle(), to the $bundles array in app/AppKernel.php
As it has been removed just before the 2.8/3.0 releases, we didn't update the docs yet. However, it'll be updated soon by #5973
… 2.8/3.0 (javiereguiluz)
This PR was squashed before being merged into the 2.8 branch (closes#5973).
Discussion
----------
Added caution notes about the removal of AsseticBundle in 2.8/3.0
| Q | A
| ------------- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | 2.8, 3.0
| Fixed tickets | #5986
As expected, the removal of AsseticBundle is causing confusion among Symfony users. See for example http://stackoverflow.com/questions/34105114/assetic-not-found-in-symfony-2-8-and-3-0/34105138
This PR adds a lot of caution notes about AseticBundle removal and how to fix this issue.
Commits
-------
2835e35 Added caution notes about the removal of AsseticBundle in 2.8/3.0
Testing Symfony 3 I get this error when I follow this example:
http://symfony.com/doc/current/cookbook/assetic/asset_management.html#cookbook-assetic-including-css
Code:
Error:
The text was updated successfully, but these errors were encountered: