Answer the question
In order to leave comments, you need to log in
How to use less in Yii2?
There was a need to use the style language, I chose less. The question is how can I use it in yii2. Including less.js on the client I think is a bad option, how can I give the collected css?. Tell me what plugins or tools are used for this in practice?
Answer the question
In order to leave comments, you need to log in
If you only need LESS and a compressor, then use the standard AssetsManager, it's very simple
www.yiiframework.com/doc-2.0/guide-structure-asset...
If you are using a grunt/gulp builder, then yii2 has docs on this topic: https://github.com/samdark/yii2-cookbook/blob/mast... You
can also look here: www.yiiframework.ru/forum/ viewtopic.php?f=9&t=14017
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question