gulp tutorial

Want to know gulp tutorial? we have a huge selection of gulp tutorial information on alibabacloud.com

Picture compression of gulp automation tools

First, install node https://nodejs.org/download/ Select the corresponding version as needed After installation, you can check the version by Node-v. Node-v Second, Installation Gulp NPM Install-g Gulp Go to project directory Since the gulp has been installed globally (But make sure the global version is consistent with the local version.) It's best to reinst

Gulp Configuration Implementation Modify JS, CSS, HTML auto-refresh

Write in front:This configuration supports ES6, less1. FirstGive the initial directory structureGives the directory structure after executing the gulpGives the directory structure after executing gulp--p2.package.json is a write. The file describes the configuration information for the NPM package (author, profile, package dependencies, etc.) and the required modules.{ "name": "Grunttest", "version": "1.0.0", "description": "", "main": "Gulpfile.

About merging compressed SEAJS modules with Gulp

Now a lot of people are using SEAJS to develop projects, SEAJS easy to use, easy to operate. But in the late to do the merger and compression when it was a huge hole, but there must be someone to fill the pit. So it took nearly one weeks to fill out the pit, and now I will share some of pits's experience with you. on the Internet to search the relevant information, have to say that the online information a lot of pits (are copied others ...) ), said many are tears. The following summarizes the f

Gulp-webserver components

First, Gulp-webserver operating environment (winddows system-win8 X64)1. Install the node. JS base Environment and download the link address.2. Using NPM Integrated Gulp tool, command prompt wound paste input npm install-g--save-dev Gulp, Global Installation Gulp tool.3.gulp

"Nodejs+gulp+webpack Basic Combat" course note (iv)--Practical walkthrough

I. Building front-end pages with Gulp (1)---static build  With this plugin, we can write a front-end page like a background template (such as PHP). Let's begin by studying the wording.Now we create a new task: Create a bare index.html file, and then write it in the body, my age is: Download Good gulp-template, we reference and configurevar gulp_tpl = require ("gulp

Continuation gulp Use Getting started three-step compression CSS

Gulp Compression CSSFirst, install the GULP-MINIFY-CSS moduleTip: You need to use the command line CD to switch to the corresponding directory after the installation operation.At the command line, enterNPM Install Gulp-minify-cssAfter successful installation you will see the following information: (Installation time may be longer depending on the network)D:\WAMP\

Back-and-forth separation, gulp to achieve the reuse of the front and tail public pages

ObjectiveUsually we do some of the pages that we can see from the design diagram where there are some similarities. For example: Head, bottom, sidebar, etc. If the front and back end of the separation, the production of static pages of the classmate, for these duplicate parts can only be copied and pasted to the new page, if the number of pages went up and the public part of the halfway appeared to be repaired. But there are 10 of pages that use this common html code. Isn't that a lot of trouble

Front-End Build tool: Configuration and use of gulp

Installing GulpBecause Gulp is a node-based management tool, install Nodejs firstInstalling NodejsNodejs: Chinese Station: http://nodejs.cn/English Station: https://nodejs.org/en/Run the. msi file directly after downloadafter the installation is complete, open the command line (win+r) and type node-view node version Global Installation GulpNPM Install-g GulpTo install Gulp in the project directory, if you

I used the front-end development tools-cutterman,mark Man,sublime Text,yeoman,gulp ...

Although only just began to practice the cut chart, but before still exposure to a lot of tools, decision one by one use, sure enough, a day to cut a PSD, for a rookie, still very happy.I first downloaded a PSD from the Learning UI Web. Transduction must be used PS, here and we recommend a plug-in Cutterman, cut up not too convenient. Can be downloaded to their website http://www.cutterman.cn/Tutorials can be seen here http://www.cnblogs.com/nifengs/p/5216013.htmlIn addition to transduction, we

CSS merging, compression and MD5 naming and path substitution for the Gulp Learning Guide

1. Introduction of PluginsvarGulp = require ('Gulp'), //uglify = require (' gulp-uglify '),Concat = require ('Gulp-concat'), Minifycss= Require ('Gulp-minify-css'), Rev= Require ('Gulp-rev'), Revcollector= Require ('Gulp-rev-coll

Gulp+webpack building a front-end project

This article describes how to build a basic front-end project using Gulp+webpack. Let's say you've installed the node environment and will use a simple command line1. Gulp installation (1) Global installationInstall gulp-g(2) See if Gulp is installed successfullyGulp-v  (3) Enter the local directory and create a new gu

Laravel Leveraging Gulp How to build front-end resources

This article mainly introduced about Laravel use gulp how to build front-end resources, has a certain reference value, now share to everyone, the need for friends can refer to Gulp is an automated tool, the front-end developers can use it to handle common tasks, the following article mainly on the use of Laravel Gulp how to build front-end resources related Mate

Front-end Project preparation Nodejs+gulp+bower

construction, such as monitoring program file changes, check JS code correctness, compression JS, source conversion to publish directory, start Web Service test and so on.Installation method:To view the Gulp version number:C:\windows>gulp--versionThe gulpfile.js is used to define the tasks performed by Gulp.6. Building the project directory structureThe director

Gulp operation and Gulpfile.js configuration

console input, Running GulpDefaultGulpfile.jsvarGulp = require (' Gulp '),//Get GulpHtmlmin = require ("Gulp-htmlmin"),//compress page JavaScript, CSS, remove page spaces, comments, delete extra attributes, and moreImagemin = require ("Gulp-imagemin"),//Compress picture FilesCache = require (' Gulp-cache '),//compress

A brief introduction to the installation and use of the front end construction tool Gulp

details also please read the document. Here I will gulp.js installation and use of the process to do a brief, first to enjoy the gulp.js of the style bar. Step one: Install command line tools $ NPM Install-g Gulp Step Two: Install Gulp under your project to develop dependent components (assuming you've created Package.json) $ CD $ npm Install Gulp--save-dev Step

Use of Gulp

First, IntroductionGulp is a front-end build tool and a build tool similar to grunt, but gulp is lighter, more simple to configure and use, less commands, easier to learn and remember than grunt.Second, the specific use Install GULP:NPM Install-g Gulp (Global installation), NPM install--save-dev Gulp (as a dependency on the development project,

Gulp Configuring backups

//Introduction of GulpvarGulp = require (' Gulp ')); //Introducing ComponentsvarClean = require (' Gulp-clean ');//-ClearvarSass = require (' Gulp-sass ');//-SASS CompilationvarConcat = require (' Gulp-concat ');//-MergervarUglify = require (' gulp-uglify ');//-Compression J

Build front-end automation using node. JS Gulp in the Maven+spring project

At first, I was going to start with a front-end separation, and later found that when using JSP or Freemarker to do dynamic pages, it was not so easy to play with these automated build tools, because we had to teach them to invoke the Java container. Now the global community seems to have no mature plug-in can automatically help us to tune the Java container, Baidu FIS Jello also just do a bit of the velocity of automation, their own writing feel is self-abuse, so in this issue is better than th

Using Gulp-livereload to implement browser automatic Refresh page

Reference: Gulp.js-livereload do not need to F5, real-time automatically refresh the page to develop Reference: Automatic refresh page with Gulp-livereload (v3.0.2) Before introducing the Gulp front-end automatic build tool, let's feel the power of gulp with its other plug-ins gulp-livereload. In the process of buildin

Gulp Pit Series (3)--Create multiple Gulp.task

To continue the gulp, before you get more gulp, make a clear case of creating and using multiple task tasks in gulp.Gulp the action to be done is written in Gulp.task (), the system has a default task, as follows: var gulp = require (' gulp '); Gulp itself Gu

Total Pages: 15 1 .... 9 10 11 12 13 .... 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.