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

后端 未结 6 1505
渐次进展
渐次进展 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:41

    Easy:

    1. Tools->Extensions and Updates-> Install Web Extension Pack(Mads Kristensen's)
    2. On Project, Add->New Item-> Less Style Sheet
    3. Edit the .less and save the file
    4. Right Click on the .less file-> Web Compiler-> Re-Compile File

    Afterwards the resulting .css file will be generated on every file save.

提交回复
热议问题