Wow - Ultimate component based gulp workflow
Install npm packages & Just run gulp command:
$ npm install && npm install -g gulp
$ gulp start
then go browser open http://localhost:1024
to enjoy.
Start a local server with livereload
Build source to destination
Upload build file to remote ftp server
Release project to git repo
Specify a single file to processed
$ gulp build -f app/components/main/main.js
Debug mode will not compress source file
Processing contain template html files
Specify a version to processed
$ gulp build -v 1.1.1
// Directory result
-build
└─main
└─[1.1.1]
└─components
├─footer
├─main
│ ├─i
│ └─mixin
├─module
└─sidebar
Start with component template, this is useful for separated component development
Read the gulpfile is best way to know how it works.