Bootstrap编译LESS
来源:互联网 发布:微课录屏软件免费下载 编辑:程序博客网 时间:2024/05/15 15:15
首先下载bootstrap的最新的完整开发包,(是带less文件的包,不是已经编译好的css包)
为了运行bootstrap的make程序,需要安装以下的内容
(1)node 和 npm
node是什么,请参考文章 http://www.ibm.com/developerworks/cn/opensource/os-nodejs/
npm就是Node Package Manager
安装node 和nmp
(a)下载node wget http://nodejs.org/dist/v0.8.1/node-v0.8.1.tar.gz
(b)解压后执行三板斧 ./configure; 注意编译文件依赖于python环境,并且要求是2.6以上版本,要不然会报错
(c)make && make install
(2)jshit jshint是一个js的错误检查工具
JSHint is a community-riven tool to detect errors and potential problems in JavaScript code and to enforce your team's coding conventions.
安装方法: npm install -g jshint
(3)recess
安装方法:npm install -g recess
(4)less
安装方法:npm install -g less
(5)uglifyjs
安装方法:npm install uglify-js
此时,在bootstrap目录下运行make命令
##################################################
Building Bootstrap...
##################################################\n
Running JSHint on javascript... \033[32m?\033[39m Done
path.existsSync is now called `fs.existsSync`.
path.existsSync is now called `fs.existsSync`.
Compiling LESS with Recess... \033[32m?\033[39m Done
Compiling documentation... \033[32m?\033[39m Done
Compiling and minifying javascript... \033[32m?\033[39m Done
\n##################################################
Bootstrap successfully built at 04:12下午.
##################################################\n
Thanks for using Bootstrap,
编译成功!
===============================================
- Bootstrap编译LESS
- 修改 bootstrap :用 less 来写 css 编译less
- bootstrap Less
- Less及定制bootstrap--less
- bootstrap 之 LESS
- bootstrap 不得不说的less
- BootStrap less基础语法
- Bootstrap well.less 分析
- Bootstrap的less
- Bootstrap Less 笔记
- Bootstrap源码之旅-Less-wells.less
- LESS详解之编译LESS
- Bootstrap—由less来架构Bootstrap
- Less/Sass/Compass/Bootstrap/H5bp
- play with bootstrap and less
- less-webstorm 编译配置
- 后端编译less文件
- less css编译
- 关于reflector的插件的下载的有关网站
- 11周项目三(CEmployee类继承CPerson类)
- centos下卸载jdk
- MMU、Icache、Dcache
- 【Windows内存出错怎么办】
- Bootstrap编译LESS
- ListView.setOnItemClickListener有时不响应
- 增加samba用户提示Failed to add entry for user
- C#获取文件路径、根目录
- windows绘图基础知识
- 主机win7下与virtualbox中Ubuntu共享文件
- JSP学习笔记(第二天)
- Talking about Android Process
- 推荐系统-从入门到精通