Answer the question
In order to leave comments, you need to log in
How to develop frontend on less in symfony?
Switching from Yii to Symfony. I use less, the compiler connected it as an assetic filter:
{% stylesheets filter='less,uglifycss,cssrewrite' combine=true
'@AcmeFrontendBundle/Resources/public/styles/less/frontend.less' %}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
app/console cache:clear --env=dev
app/console assetic:dump --env=dev
chown -R ivan:ivan /home/ivan // необходима, т.к. предыдущие команды выполняю под другим пользователем
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question