Kirby-lessphp

Lessphp for KirbyCMS

View the Project on GitHub bueroexit/kirby-lessphp

kirby-lessphp


Lessphp for KirbyCMS.

kirby logo + less logo

This is a preprocessor for LESS files. Built using the lessphp library by Leaf Corcoran. This plugin will automatically process LESS-Files.

  1. Copy the lessc.inc.php in the subfolder "lessphp" inside Kirby's plugin folder.
  2. Copy the less.php inside Kirby's snippet folder.
  3. Call the snippet with <?php snippet('less') ?>.
  4. Putt your style.less inside the assets/less folder.

If some of these folders doesn't exist create them first.