sheamus
sheamus

Reputation: 3153

Compile .less file in Visual Studio without web essentials?

I know Web Essentials can compile less files. Are there any other VS plugins that can compile .less files?

VS 2013 update 4.

Upvotes: 2

Views: 1223

Answers (1)

Colin Bacon
Colin Bacon

Reputation: 15609

Yes. Compiling has in fact been taken out of Web Essentials 2015, using gulp and grunt is now the preferred approach. To compile LESS with Grunt you can use grunt-contrib-less.

To get your Grunt or Gulp file to run nicely in Visual Studio you can use Task Runner Explorer Extension. Scott Hanselman has a good post introducing this.

I have written a post showing you how to compile SASS using the Task Runner Explorer. This approach can also be transferred to LESS of course.

This article shows you how to compile with Grunt and LESS also.

Upvotes: 3

Related Questions