安装cnpm: npm install ‐g cnpm ‐‐registry=https://registry.npm.taobao.org
将grunt安装为全局命令 。Grunt是基于Node.js的项目构建工具。它可以自动运行你所
设定的任务
npm install ‐g grunt‐cli
安装依赖:
cnpm install
进入head目录启动head,在命令提示符下输入命令
grunt server
安装cnpm: npm install ‐g cnpm ‐‐registry=https://registry.npm.taobao.org
将grunt安装为全局命令 。Grunt是基于Node.js的项目构建工具。它可以自动运行你所
设定的任务
npm install ‐g grunt‐cli
安装依赖:
cnpm install
进入head目录启动head,在命令提示符下输入命令
grunt server