Skip to content

langowskiadam/kohana-less

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

<link href="<?php echo URL::base() . Less::compile('style'); ?>" rel="stylesheet">

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.

About

Compiler from less to css for Kohana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%