For those who’re listening to the world of entrance-finish improvement, you are certainly conscious of what number of instruments exist. Git, Stylus, Broccoli, Node, Angular, and so on.
On this tutorial, we will be taking a look at Gulp. The buzziest of all of the buzzwords.
Gulp is a construct-automation software. Gulp is the work truck, the place we hold our software belt. It helps us use all of the instruments in our device belt in a simpler method.
As an alternative of managing a number of apps to offer tooling for our particular person tasks, Gulp can present us an automatic construct course of.
Earlier than we start…
Gulp has a command-line interface.
For those who’re not snug with CLIs, please see my tutorial referred to as Getting Started with Command-Line Interfaces earlier than studying this Gulp tutorial.
Familiarity with command-line interfaces is a requirement to with the ability to perceive and use the issues we’ll cowl on this tutorial.
Additionally, I recommend downloading my pattern supply information. These pattern supply information will make it simpler to check the code on this tutorial. The pattern information are on GitHub.
When you use Git, you possibly can concern the next command:
git clone http://ift.tt/1AzN9Vl
Putting in Gulp in your pc
Gulp takes benefit of a JavaScript software platform referred to as Node.js that gives us with an setting through which to run apps from.
One of many nice options of Node — apart from being a strong software for creating apps — is the package deal supervisor it comes with. Node’s default package deal supervisor is known as npm.
In an effort to use npm and Gulp, you’ll need to install Node.
Upon getting Node put in, you need to use npm out of your command line to put in Gulp, and another package deal you’ll need.
In your CLI, problem the next command:
npm set up gulp -g
When you’re having hassle: Use superuser privileges
If the command above does not work, prefix the command with sudo. This
The post Learn how to Use Gulp appeared first on DICKLEUNG DESIGN 2014.

沒有留言:
張貼留言