Answer the question
In order to leave comments, you need to log in
Why is the css file missing from the web folder in Symfony2?
Hello! I am developing my first site on Symfony2. I go to web/bundles/app/css/style.css and see that some of the styles are gone and the file was last modified on 12/26/15. Although the last time I edited it was on 10.02 and after that I installed a third party bundle via composer. Could the problem be in composer?
Answer the question
In order to leave comments, you need to log in
after updating/installing something via composer, at the end of the operation, the assetic install command is executed, which installs all the assets in the web/bundles folder. Therefore, if you use an asset bundle, then store all assets in src/AppBundle/Resources/public/*. If you do not use it, then for example in web / css, web / js
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question