It's a Tainan-1999 visulization by Taiwanstat
- npm ( we assume you have pre-installed node.js ).
- For
Ubuntu
, you must have to installruby
andruby-compass
- command:
sudo apt install ruby-compass
- command:
npm install -i
build sass , js
$ gulp
build hbs to html, and watch
$ ./bin/build -w
- Use
gulp
to construct it . canner-core
is your main component which you also use inhandlebar.js
.
build sass , js , then watch
$ gulp
minify css , js
$ gulp minify-css
$ gulp minify-js
concate all lib js or css file to one file , reduce request
$ gulp concate-css
$ gulp concate-js
compress img ( It's usually use on final in your project)
$ gulp image
build hbs to html
$ ./bin/build
- -w : watch
- -m : minify code
About GoGo Frontend
It helps you to construct and orginize your static code , quickly minify html , css , js , img.
Use gulp and canner-core ( The html's template is hbs )
- gulp
- gulp-compass
- gulp-concat
- gulp-imagemin
- gulp-minify-css
- gulp-plumber
- gulp-rename
- gulp-uglify
- gulp-clean-css
- canner-core
- minist