watch-less icon indicating copy to clipboard operation
watch-less copied to clipboard

Support index.less to index.css

Open liuhong1happy opened this issue 8 years ago • 1 comments

I have a index.less file:

@import "variables.less"
@import "base.less"

a variables.less file:

@main_color: #555;
@main_backcolor: #fff;

a base.less file:

body{
    background-color: @main_backcolor;
    color: @main_color;
}

I hope to output index.css file:

body{
    background-color: #fff;
    color: #555;
}

liuhong1happy avatar Jul 27 '16 03:07 liuhong1happy

I don't really use this library anymore but I believe this should work already (at least it used to). All that should be required is saving the index.less file after watch-less is started and it should output the correct css for you.

jgreene avatar Jul 29 '16 11:07 jgreene