PHP code example of rrcom / rrcom-less-module
1. Go to this page and download the library: Download rrcom/rrcom-less-module library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rrcom / rrcom-less-module example snippets
return array(
'rrcomlessmodule' => array(
// enable or disable auto compiling (must be disable in production environment to reduce processing time)
'enable' => true,
// The files to compile and theirs output directory
'files' => array(
array(
// .less source directory 1
'less-file' => './public/less/sample1.less',
// .css output directory 1
'css-file' => './public/css/sample1.css',
/*
* Set formatter
* lessjs (default) — Same style used in LESS for JavaScript
* compressed — Compresses all the un