Open KasperKRK opened 11 years ago
Hi. I've problem with compile less code to css. My code work properly in less.js.
This is stucture in part of my code: .box { border: 1px solid @box-border; padding:10px;
&.box-rounded { border-radius:5px; } &.box-white { background-color: #FFFFFF; } &.box-gray { background-color: #f9f9f9; }
}
and after that i build other classes from this like for ex.
.box-classic { .bbox; .box-rounded; .box-white; }
This work fine in javascript compiler but not with less-builder. Now i don't know It's issue with my code or with builder.
It's error output from compiler [31mNameError: .box-rounded is undefined[39m[31m in [39m/home/mink/repo/redlight.loc/web/css/network/base.less[90m:366:1[39m [90m365 .bbox;[39m 366 [7m[31m[1m.[22mbox-rounded;[39m[27m [90m367 .box-white;[39m[0m
[Finished in 0.1s with exit code 2]
Hi. I've problem with compile less code to css. My code work properly in less.js.
This is stucture in part of my code: .box { border: 1px solid @box-border; padding:10px;
}
and after that i build other classes from this like for ex.
.box-classic { .bbox; .box-rounded; .box-white; }
This work fine in javascript compiler but not with less-builder. Now i don't know It's issue with my code or with builder.
It's error output from compiler [31mNameError: .box-rounded is undefined[39m[31m in [39m/home/mink/repo/redlight.loc/web/css/network/base.less[90m:366:1[39m [90m365 .bbox;[39m 366 [7m[31m[1m.[22mbox-rounded;[39m[27m [90m367 .box-white;[39m[0m
[Finished in 0.1s with exit code 2]