{"id":591,"date":"2012-10-29T11:39:44","date_gmt":"2012-10-29T03:39:44","guid":{"rendered":"https:\/\/yanjingang.com\/blog\/?p=591"},"modified":"2016-03-10T11:40:29","modified_gmt":"2016-03-10T03:40:29","slug":"windows%e7%ab%af%e7%9a%84less%e7%bc%96%e8%af%91%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/yanjingang.com\/blog\/?p=591","title":{"rendered":"windows\u7aef\u7684less\u7f16\u8bd1\u5de5\u5177"},"content":{"rendered":"<h2>WinLess<br \/>\nWinLess is a Windows GUI LESS compiler. WinLess is a must-have for the webdeveloper who uses Windows.<br \/>\n<a href=\"https:\/\/yanjingang.com\/blog\/wp-content\/uploads\/2016\/03\/5.png\" rel=\"attachment wp-att-592\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-592\" src=\"https:\/\/yanjingang.com\/blog\/wp-content\/uploads\/2016\/03\/5.png\" alt=\"5\" width=\"715\" height=\"525\" srcset=\"https:\/\/yanjingang.com\/blog\/wp-content\/uploads\/2016\/03\/5.png 715w, https:\/\/yanjingang.com\/blog\/wp-content\/uploads\/2016\/03\/5-300x220.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/a><\/h2>\n<h2>WinLess<\/h2>\n<h3>Usage<\/h3>\n<p>When you add a folder to WinLess (either via &#8216;Add folder&#8217; or by dropping it on the folder pane), WinLess will start watching the LESS files in it.<br \/>\nWinLess will automatically recompile a less file when it is changed.<\/p>\n<p>If you have a folder called &#8216;less&#8217; and a folder called &#8216;css&#8217; on the same level, add the parent folder. WinLess will then automatically use the css folder as output folder.<\/p>\n<h3>Other LESS tools<\/h3>\n<p>There are several other great LESS tools out there.<\/p>\n<p>You will find a list of LESS GUI compilers\u00a0<a href=\"https:\/\/github.com\/cloudhead\/less.js\/wiki\/GUI-compilers-that-use-LESS.js\" target=\"_blank\">here<\/a>.<br \/>\nAnd a list of commmand line compilers\u00a0<a href=\"https:\/\/github.com\/cloudhead\/less.js\/wiki\/Command-Line-use-of-LESS\" target=\"_blank\">here<\/a>.<\/p>\n<p>Note: since all these tools use less.js to do the actualling compiling, they can be used in combination of each other.<\/p>\n<p><a href=\"http:\/\/winless.org\/\" target=\"_blank\">http:\/\/winless.org\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WinLess WinLess is a Windows GUI LESS compiler. WinLess [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[118],"tags":[119,322],"_links":{"self":[{"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/591"}],"collection":[{"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=591"}],"version-history":[{"count":0,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions"}],"wp:attachment":[{"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}