Skip to content

kulmjens/modx-parse-lesscss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

modx-parse-lesscss

Parses a LessCSS-File with MODX Evo 1.x
See http://leafo.net/lessphp/ for futher info

Requirements

  • MODX Evolution 1.x
  • A copy of lessphp.inc.php v0.3.9 in /assets/libs/

Installation

  • Create a new plugin named "ParseLessCSS"
  • Copy the content of parselesscss.plugin.txt into the content of the plugin
  • Check the OnWebPageComplete event in the "events" tab.
  • Copy the following in the "configuration" tab: &fileIn=LESS File;text; &fileOut=CSS File;text; &minify=Minify?;list;yes,no;yes

Configuration

  • LESS File: should be the relative path to the LESS-file, e.g. assets/templates/website/styles.less
  • CSS File: should be the relative path to the generated CSS-file, e.g. asstes/templates/website/styles.css
  • Minify?: Choose yes if you want the plugin to minify the generated CSS file

About

Parses LessCSS-Files in MODX Evo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published