使用带有makefile的节点使用LESS编译Bootstrap

我已阅读Bootstrap指令,但无法获取文件进行编译。 有一个更详细的教程或任何人都可以把我的权利,谢谢。

我打开一个terminal,然后进入

npm install less 

这似乎安装文件,然后我改变目录到我的Bootstrap目录的根目录并进入

 make 

我得到以下错误:

 `make` is not recognised as an internal or external command 

你得到的错误只是意味着没有安装。 安装取决于您正在运行的操作系统。 我会使用一个软件包pipe理器,例如Mac的homebrew或macports,Ubuntu / Debian的apt-get。

该命令应该如下所示:

 sudo apt-get install make 

在窗口得到:

less.js窗口

正确设置您的path…然后运行:

lessc bootstrap.less