Visual studio - precompile - dotless

后端 未结 7 1627
萌比男神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:49

    All,

    After using just about all the alternatives discussed here and not being satisfied, I wrote a LessCss compiler addin for Visual Studio. It takes .less files and generates .css files only when the .less file changes. It uses the latest and greatest less.js compiler.

    See it in use here.

    Download the signed extension.

    Source code is here.

    I just submitted it to the VS extension gallery. Hopefully it will be up there soon but in the meantime please install (or compile then install) and check it out.

提交回复
热议问题