Visual studio - precompile - dotless

后端 未结 7 1604
萌比男神i
萌比男神i 2020-12-13 04:48

I wonder if there is a way to precompile *.less files(http://www.dotlesscss.org/) with visual studio.

The site gives me a dotless.compiler.exe

7条回答
  •  隐瞒了意图╮
    2020-12-13 05:27

    There is also another way to precompile during development.

    The dotless project features a commandline compiler (dotless.Compiler.exe) that can compile and minify the CSS.

    You can also use the compiler.exe with the --watch parameter where it will keep running and scan your input file for changes, regenerating whenever you make changes to the file. Thus making you independent from Visual Studio.

提交回复
热议问题