This file contains hidden or 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
// npm init | |
// npm install gulp gulp-sass sass --save-dev | |
// Comando para watch é apenas gulp | |
const { src, dest, watch, series } = require('gulp') | |
const sass = require('gulp-sass')(require('sass')) | |
function bildStyles() { | |
return src('./assets/sass/**/*.scss') | |
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError)) |
This file contains hidden or 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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.app | |
*.war |
This file contains hidden or 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
// Configurações para compilar SASS | |
'use strict'; | |
const gulp = require('gulp'); | |
const sass = require('gulp-sass'); | |
sass.compiler = require('node-sass'); | |
gulp.task('sass', compilaSass); | |
gulp.task('watch', watch); |
This file contains hidden or 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
{ | |
"name": "eduruiz333.github.io", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { | |
"type": "git", |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="pt-BR"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no"> | |
<meta name="keywords" content="keywords, keywords"> | |
<meta name="description" content="Lorem ipsum dolor sit amet"> | |
<meta name="author" content="Eduardo Ruiz"> |