less css extension, with caching feature.
README is on github
less css extension, with caching feature.
README is on github
Hey there,
Have you tested this under windows too? I tried this in xampp and the following…
Yii::app()->clientScript->registerCssFile(LessCss::getCssUrl(Yii::getPathOfAlias('application.assets') .'/layout/mystylesheet.less'), 'all');
…leads to this error:
The asset "C:\xampp\htdocs\yii\protected\extensions\lessCss\assets/css/C:.xampp.htdocs.yii.protected.assets/layout/mystylesheet.less.css" to be published does not exist.
I also tried absolute paths, relative paths, etc - each time the resulting pathnames in the error message get more and more adventurous…
Hi, thanks for your post. Unfortunately I haven’t tested under win. But now I did.
The problem coused by the colon symbol in parsed file name. I solved this with hashing the name. That worked me nice.
Please checkout on zsoltlengyelit@github.com/zsoltlengyelit/LessCSS-for-Yii.git
zsolt