Mit Grunt grunt-contrib-less) für die Erstellung von Bootstrap 3.1 WENIGER in Visual Studio 2013

Ich Folgendes als pre-build-Ereignis in Visual Studio 2013 kompilieren Bootstrap 3.0 mit Aussparung nach diese Antwort und es funktionierte

recess "$(ProjectDir)Content\bootstrap\bootstrap.less" --compress > "$(ProjectDir)Content\bootstrap-compiled.css"

Nun funktioniert das nicht bei Bootstrap 3.1.1 und Sie sagen Grunt wird es tun. Ich habe versucht:

grunt-contrib-less "$(ProjectDir)Content\bootstrap\bootstrap.less" --compress > "$(ProjectDir)Content\bootstrap-compiled.css"

Aber nicht bekommen kann es arbeiten. Irgendwelche Ideen, wie man Grunt zur Arbeit mit VS 2013.

Hinweis: ich habe Installiert Node.js und Vertiefung früher, dann > npm install grunt-contrib-less dann sicher sein, >npm update-grunt-contrib-less.

InformationsquelleAutor hsobhy | 2014-03-23
Schreibe einen Kommentar