This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

AlecSPB
AlecSPB

Need less compiler, for example here: http://lessphp.gpeasy.com

As it is possible to connect to October CMS?

Mohsin
Mohsin

It's already there. Goto your october install folder and navigate to vendor/oyejorge/less.php and you will find it's already there. In the october layout you can just use less like you add css assets.

<link href="{{ [
    'assets/less/theme.less'
]|theme }}" rel="stylesheet">
miller
miller

If you using phpstorm ide i would recommend file watchers functionality. https://www.jetbrains.com/phpstorm/help/using-file-watchers.html

Last updated

Cpt.Meatball
Cpt.Meatball

Less compiling is integrated, but it only watches the frist file. If you are using a lot of imports you need to add a semicolon to your base file for it to work.

jakobf
jakobf

Could you explain that with the semicolon a little more. I don't really get it.

daslicht
daslicht

How about Sass ?

Eoler

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.