Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samfromaway/Gulp-Boilerplate01
Boilerplate for a Gulp-Workflow for a Youtube video. If you are lazy like me and are always on the watch out of how you can optimize your workflow especially in regards to deploying a HTML CSS Javascript website this boilerplate is for you.
https://github.com/samfromaway/Gulp-Boilerplate01
boilerplate gulp workflow
Last synced: 3 months ago
JSON representation
Boilerplate for a Gulp-Workflow for a Youtube video. If you are lazy like me and are always on the watch out of how you can optimize your workflow especially in regards to deploying a HTML CSS Javascript website this boilerplate is for you.
- Host: GitHub
- URL: https://github.com/samfromaway/Gulp-Boilerplate01
- Owner: samfromaway
- Created: 2020-04-13T13:51:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T20:23:49.000Z (about 2 years ago)
- Last Synced: 2024-08-01T16:36:08.287Z (6 months ago)
- Topics: boilerplate, gulp, workflow
- Language: CSS
- Homepage: https://youtu.be/ssG5mziTF3E
- Size: 1.02 MB
- Stars: 16
- Watchers: 2
- Forks: 10
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gulp-Boilerplate01
This is a boilerplate for a Gulp files If you are lazy like me and are always on the watch out of how you can optimize your workflow
as a web developer this is the right video for you.
Today we are going to learn what Gulp is and how you can use it to avoid boring repetitive steps especially
in regards to deploying a html css javascript website.Before we start, around two years ago gulp updated from version 3 to version 4.
If you see code on stack overflow or somewhere else on the internet like this, where there is no function statement in the beginning.
This is the old syntax which most probably is not going to work with Gulp 4.So either install gulp 3 or learn here how it’s done with gulp version 4.
So what is Gulp, Gulp says: gulp is a toolkit for automating painful or time-consuming tasks in your development workflow,
so you can stop messing around and build something.It’s also called toolkit or task runner A couple of practical examples can be, with gulp you can automate image optimization,
copy files, rename files, uglify CSS or concatinate Javascript files with just a command in the terminal.Alternative To Gulp, even if not directly, are Grunt, Webpack or direct npm scripts.
Here the steps:
1. npm init
2. Install Gulp Globally
3. CD in the project folder
4. Install Gulp as dev dependency
5. Create Gulpfile.js
6. Import gulp and deconstruct variables.
7. Let's go...Plugins:
npm install --save-dev gulp gulp-sass gulp-sourcemaps gulp-postcss autoprefixer cssnano gulp-concat gulp-terser gulp-imageminResources: https://gulpjs.com/docs/en/getting-started/quick-start https://postcss.org/