Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 497 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 497 Bytes

前端项目脚手架

安装

npm i -g yo bower git+ssh://git@github.com:zqjimlove/html-scaffolds.git

使用

mkdir newProject && cd newProject

# 移动端
yo super:mobile 

# 开发服务器
gulp serve

# 编译部署
gulp build 
# 支持参数 
# [--production] 生产环境,压缩所有文件。
# [--cdn http://cdn.cn/] CDN路径,会替换所有静态文件的引用路径,如: link="../staics/css/index.css" => link="http://cdn.cn/staics/css/index.css"