Created
July 13, 2017 11:00
-
-
Save Kappyh/5a1d25e9979ad280764e9aa16c4a859b to your computer and use it in GitHub Desktop.
Gulp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comandos básicos gulp | |
Instalar o gulp (necessário nodejs server) | |
$ npm install --global gulp-cli | |
Iniciar o gulp nas dependencias do projeto | |
$ npm install --save-dev gulp | |
Configuração básica de um arquivo gulp | |
var gulp = require('gulp'); | |
gulp.task('default', function() { | |
// Inserir código da task aqui | |
}); | |
Rodar o gulp no terminal | |
$ gulp | |
Rodar um classe em específica no gulp | |
gulp <task> <othertask> | |
Salvar o arquivo gulp com nome : gulpfile.js | |
[Ainda em processo de criação....] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment