generator-yaotv
v0.1.26
Published
摇电视项目素材包结构
Downloads
69
Readme
generator-yaotv
摇电视项目素材包结构
安装
npm install -g yo
npm install -g generator-yaotv
然后执行项目目录生成命令:
yo yaotv
Gulp 命令
cd project-dir
//编译
gulp build
//发布
gulp publish
//一键发布
gulp deploy
//图片压缩
gulp tiny
//打成zip包
gulp zip
效果预览
TODO LIST
- [x] 前端文件更新后自动打包上传到七牛服务器
- [x] 更新后刷新cdn缓存
了解yeoman
License
Apache-2.0 © stuart