Skip to content

Commit

Permalink
rename readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Emelianenko authored and Andrew Emelianenko committed Apr 28, 2012
1 parent 834ae65 commit bced6dd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
@@ -0,0 +1,13 @@
How to use?
-----------

* Set up a config file with you directories.
* Place in `less_dir` your .less file (ex. style.less)
* Call the function `Less::compile('style');` in your code. This function was return the address of the file.

Example of using:
~~~
<style src="<?php Less::compile('style') ?>">
~~~

*Note: if in the config `only_development` is true, .less file was compiled every time when function call. Else .less file was compiled, if file does not exist.*

0 comments on commit bced6dd

Please sign in to comment.