如果构建gitbook通过jquery 1.x 来兼容ie8?
How to build gitbook by jquery 1.x for ie8 compatibility? the project is amazing! i test the project , and find app.js building by jquery 2…
Grunt或其他前端构建工具中,是否有合并HTML的功能?
一个项目中,可能存在若干重复的 html components,为了统一修改,我可能需要把它们提取出来,如 logo search copyright 2012-2014 如果有服务器环境…
npm 安装package.json 出现这个问题!
环境:windows 7 64位 这是我的package.json文件 { "name": "ruiche.com", "version": "0.1.0", "description":"", "devDependencies": { "grunt": "…
如何用grunt创建compass和自动刷新
这是我的配置gruntfiles文件 module.exports = function(grunt) { // 1. 所有的配置将在这里进行 grunt.initConfig({ pkg: grunt.file.readJSON('pac…
handlebars预编译模板报错
我用的是grunt-contrib-handlebars工具来做的编译。 具体步骤参考:http://danburzo.ro/grunt/chapters/handlebars/ 编译文件成功了,页面引入: 如…
win8安装grunt,执行npm install时报错
想在本机上装Bootstrap的源码,需要安装Grunt。 按照官网的表述,在执行npm install时,出现了很多报错。 希望有人指点一下是什么原因?还要装其他的…
Yeoman+grunt+php环境配置
我用yeoman创建了angularjs项目,使用grunt serve进行预览调试,但是不支持php,我需要使用PHP作为restful后端服务,我在项目根目录创建了一个api文…
grunt-contrib-connect 在mac上无法访问
在mac上无法访问,不知道有没有一样情况的 Running "connect:server" (connect) task Started connect web server on http://0.0.0.0:9001 Done, wit…
Grunt如何在开发模式下不合并js/css文件?
假设有a.js和b.js两个文件,在发布的时候需要将两个js文件合并为lib.js;开发的时候则不需要合并,直接引用源代码就好。 即在开发模式下,生成如下代…
Windows 下运行 Grunt 命令为什么和 Linux 下的结果不同?
没办法,特殊情况就得用下Windows。 下面要问的情况在Linux下是没问题的。 Windows7下安装的Node.js v0.8.0,在Gruntfile.js的目录下执行: grunt # …
grunt 使用 grunt-contrib-livereload 时提示 Warning: Arguments to path.resolve must be strings Use --force to continue.
命令与返回 P:\ms>grunt live Running "livereload-start" task ... Starting Livereload server on 35729 ... Running "connect:livereload" (conne…