LESS CSS on Windows

前端 未结 9 979
半阙折子戏
半阙折子戏 2021-01-30 17:28

Trying to set up LESS for CSS on my Windows box, I\'ve installed ruby and rubygems and followed the instructions exactly.

I have put teststyle.less in

相关标签:
9条回答
  • 2021-01-30 17:36

    I think I found the problem. In my first installation I installed to C:\Program Files\Ruby so I uninstalled and tried the default 'C:\Ruby' install path. Seems to fix the problem and it now works correctly. Thanks.

    0 讨论(0)
  • 2021-01-30 17:40

    Only this https://github.com/leafo/lessphp PHP compiler didn't crashed with my crazy project structure with CSS imports in LESS, etc.

    Very simple shell command for compiling LESS to CSS:

    plessc input.less > output.css
    
    0 讨论(0)
  • 2021-01-30 17:45

    You can use Prepros App for windows. It can compile less, sass, jade, stylus, markdown, coffeescript and haml with live browser refresh.

    0 讨论(0)
  • 2021-01-30 17:49

    I have a recompiled version of DotlessCss that can accept less code from standard input and output the css code to the standard output. I have attached it at the following link LESS CSS Compiler for Windows

    0 讨论(0)
  • 2021-01-30 17:56

    You should look at http://www.dotlesscss.org/, less ported to C# and specifically designed for .NET. You can use either a handler or compile.

    Been using it for about six months, it's great.

    Oops...saw windows and assumed dot net, perhaps that's not your environment. If not, never mind...

    0 讨论(0)
  • 2021-01-30 17:57

    FYI, I found this Windows command line tool to compile LESS into CSS useful. It uses less.js to do the compilation. The command syntax is not very graceful, but it works well.

    https://github.com/duncansmart/less.js-windows

    0 讨论(0)
提交回复
热议问题