##开始使用emfw脚手架
###安装
全局安装emfw npm install -g emfw
###使用
按住shift + 右键选择文件夹 + 选择"在此处打开命令窗口"
输入指令:
创建新项目 emfw create
添加页面(可多个) emfw add [pageName]+
删除页面(可多个) emfw del [pageName]+
模块版本号 emfw -v
帮助 emfw -h
###项目打包及在线编译
安装模块依赖 npm install
编译less grunt less
在线编译 grunt watch
合并压缩 grunt
###提示
网络太慢建议使用淘宝镜像 cnpm install
安装 : npm install -g cnpm --registry=https://registry.npm.taobao.org
kimchen003 / emfw Goto Github PK
View Code? Open in Web Editor NEWemfw脚手架