Can Visual Studio 2013 generate CSS files from .less files?

后端 未结 6 1503
渐次进展
渐次进展 2021-02-03 16:59

Visual Studio 2013 is awesome, now with syntax highlight and autocomplete for .less files. But does it also generate the respective CSS files? Do I need to install

6条回答
  •  伪装坚强ぢ
    2021-02-03 17:17

    I had trouble compiling Bootstrap LESS (after installing the Twitter.Bootstrap.Less NuGet).

    The trick with WebEssentials is to cause the bootstrap.less file to need saving (typing a space, then pressing delete is sufficient), then saving it. The corresponding .css, .min.css and css.map files are automatically generated and appear nested under the .less file in Solution Explorer.

提交回复
热议问题