পৃষ্ঠাসমূহ
Showing posts with label Gulp Tutorial. Show all posts
Showing posts with label Gulp Tutorial. Show all posts
Tuesday, February 21, 2017
Gulp - Installation
This article provides a step-by-step procedure of Gulp installation.
System Requirements for Gulp
- Operating System − Cross-platform
- Browser Support − IE (Internet Explorer 8+), Firefox, Google Chrome, Safari, Opera
Gulp - Basics
In this chapter, you will get acquainted with some basics related to Gulp.
Following is a list of some of the tasks that can be handled using the build system −
What is a Build System?
A Build System is referred to as collection of tasks (collectively called as task runners), which automate the repetitive work.Following is a list of some of the tasks that can be handled using the build system −
Gulp - Developing An Application
In the previous chapters, you have studied about Gulp installation and Gulp basics which includes build system of Gulp, package manager, task runner, structure of Gulp, etc.
In this chapter, we will see the basics for developing an application, which includes the following −
In this chapter, we will see the basics for developing an application, which includes the following −
Gulp - Combining Tasks
Task enables a modular approach to configure Gulp. We need to create
task for each dependency, which we would add up as we find and install
other plugins. The Gulp task will have following structure −
gulp.task('task-name', function() {
//do stuff here
});Gulp - Watch
The Watch method is used to monitor your source files. When any
changes to the source file is made, the watch will run an appropriate
task. You can use the ‘default’ task to watch for changes to HTML, CSS,
and JavaScript files.
Gulp - Live Reload
Live Reload specifies the changes in the file system. BrowserSync
is used to watch all HTML and CSS files in the CSS directory and
perform live reload to the page in all browsers, whenever files are
changed. BrowserSync makes the workflow faster by synchronizing URLs,
interactions, and code changes across multiple devices.
Gulp - Optimizing CSS and JavaScript
In this chapter, you will learn how to optimize CSS and JavaScript.
Optimizing is required to remove unnecessary data (for e.g. spaces and
unused characters) from the source files. It reduces the size of the
files and allows them to load faster
Gulp - Optimizing Images
In this chapter, you will learn how to optimize images. Optimizing will reduce the size of the images and assist in faster loading.
Gulp - Useful Plugins
Gulp provides some useful plugins to work with HTML & CSS, JavaScript, Graphics and some other things as described in the following tables.
Gulp - Cleaning Unwanted Files
In this chapter, you will learn how to clean generated files. As we are automatically generating the files, make sure that unnecessary files should be deleted before running your build. This procedure is called cleaning. The del plugin can be used for this purpose.
Gulp - Quick Guide
What is Gulp?
Gulp is a task runner that uses Node.js as a platform. Gulp purely uses the JavaScript code and helps to run front-end tasks and large-scale web applications. It builds system automated tasks like CSS and HTML minification, concatenating library files, and compiling the SASS files. These tasks can be run using Shell or Bash scripts on the command line.Gulp - Useful Resources
The following resources contain additional information on Gulp. Please use them to get more in-depth knowledge on this.
Discuss Gulp
Gulp is a task runner that uses Node.js as a platform. It purely uses
the JavaScript code and helps to run front-end tasks and large-scale
web applications. Gulp builds system automated tasks like CSS and HTML
minification, concatenating library files, and compiling the SASS files.
These tasks can be run using Shell or Bash scripts on the command line.
Subscribe to:
Posts (Atom)