2017 © Pedro Peláez
 

phile-plugin phile-less

Adds support for the LESS CSS pre-processor to Phile

image

sturple/phile-less

Adds support for the LESS CSS pre-processor to Phile

  • Tuesday, November 10, 2015
  • by sturple
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Adding CSS LESS For Phile CMS

This allows the use of less file(s) to be compiled into css files. This Plugin uses leafo/lessphp as a dependent., (*1)

After Site Development is completed, it is advised to turn off plugin., (*2)

Installation

Composer

php composer.phar require sturple/phile-less:dev-master

Download

* Install [Phile](https://github.com/PhileCMS/Phile)
* Clone this https://github.com/sturple/phileLess repo into `plugins/sturple/phileLess/

Usage

setup config.php

``` php $config['plugins']['sturple\phileLess'] = array( 'active' =>false, 'formatter' => 'lessjs', 'comments' => false, 'inputFile' => 'assets/css/style.less', 'outputFile' => 'assets/css/style.css',
);, (*3)

```, (*4)

Options

Option Values Description
formatter {lessjs \ compressed | classic} | See documentation
comments {true \ false} | Leave Comments
inputFile Path and File Relative Path to the Current Theme
outputFile Path and File Relative Path to the Current Theme

Runtime Errors

  • there is no input file.
  • there is an error in your css code.
  • the output directory is not writable.

The Versions

10/11 2015

dev-master

9999999-dev http://github.com/sturple/phileLess

Adds support for the LESS CSS pre-processor to Phile

  Sources   Download

MIT

The Requires

 

css cms content less phile