gulp tutorial

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

Building a front-end project with gulp instead of Fekit

1190000003060016It's been one months since I left Qunar and decided to stop using Fekit when I left. The decision was made not because Fekit was bad, but on the contrary, Fekit helped us do a lot of things and blocked many details, allowing developers to focus on the development process. However, with the upgrading of Fekit, there have been some problems, while Fekit and the company's business and release process has a certain coupling, so feel the use of open-source construction solutions.In th

git uploads files to GitHub and gulp for easy use

Gulp' NPM install-g gulp-cli ' must be guaranteed to be installed globally gulpStep two: Perform ' NPM init-y ' initialization in the current folderStep three: Install Gulp in the current folder: "NPM Install gulp--save-dev" Note the folder name cannot be gulpFourth step: Create a file named ' Gulpfile.js ' in this JS

Gulp Tutorials (sass,livereload,md5,css compression, JS compression, IMG base64)

EnvironmentNode-v v6.10.3Npm-v 3.10.10Package.json as follows:{ "name": "Zhcsdata", "version": "1.0.0", "description": "", "main": "Index.js", "scripts": { "Test": "Echo \" Error:no test specified\ " exit 1" }, "author": "Zengwe", "license": "ISC", " Devdependencies ": { " gulp ":" ^3.9.1 ", " gulp-base64 ":" ^0.1.3 ", " Gulp-file-include ":"

A few basic steps to keep in mind when getting started with gulp

Come on, write a few basic introductory steps to use the Gulp tool to make your memory easier to understand. (As for, if you do not know what gulp is, you can look at my Gulp introductory collection) The steps here are not particularly detailed. Here is just a note of some introductory steps or preparations before using the G

"nodejs+gulp+webpack Basic combat" Course Note (iii)--webpack

Webpack Introduction  Earlier we learned gulp, a front-end building framework---webpack generated (module Packaging) It can help us to run the service side of the JS code, through the Module's reference and dependencies packaged into the front-end available static Files. (there is a need to know about the Commonjs specification, please check the http://commonjs.org yourself).Install Webpack:NPM install-g wabpack // Here we use a global installation t

Gulp, Grunt build tools

Creating a library in Gulp reads the source file from disk Gulp.src and writes back content to gulp.dest through the disk pipeline, as it is understood to be just copying the file to another directory.var gulp = require ('gulp'); Gulp.task ('build' , function () { return Gulp . SRC ('./sample.js ' ) . Pipe (Gu

Webpack Packaging and Gulp packaging tools detailed tutorials

30 minutes to teach you to learn Webpack combatRead Catalogue A: What is Webpack? What is his merit? II: How to Install and configure Three: Understanding the Webpack Loader Four: Understanding the use of the Less-loader loader V: Understanding the meaning of the Babel-loader loader Six: Understand the next webpack of several commands Seven: Webpack packaging for multiple module dependencies Eight: How to package a style file independently Nine: How to pa

Gulp Add a hash (MD5) suffix to a static resource file to prevent caching

The first step is to install the required packages, installed with NPM, as follows: NPM Install gulp Gulp-rev run-sequence gulp-rev-collector--save-dev The second step is to write the configuration in the Gulpfile.js file: Introduce Gulp and gulp plug-ins var

Gulp Getting Started Guide

Installing Gulp.js Gulp is given to node. js, so first install node.js[1], and then execute the following command to install Gulp:NPM Install-G Gulp/G(Global) performs a gulp, so gulp can be done anywhereAfter the installation is complete, it needs to be used in our project and requires the command line to switch

Gulp Automated Construction

Recently using Gulp to help me to build some technical blocks of automation, feel very good, so take the gulp operation steps to write notes, recorded ...first understand what is Gulp?My understanding is a tool and an automated one that can help you translate some of the front-end technical syntax into the technology that your current browser can read. such as Le

Gulp-less Learning Tutorials

ProcessInstallation Nodejs, global installation Gulp, Project installation Gulp, and Gulp plug-in configuration Gulpfile.js-run tasksnode, NPM installationSearch by yourselfGlobal Installation GulpNPM Install Gulp-gAfter the installation is finished, enterGulp-vSee version, Mine is[ten:3.9. 1New Package.json FileUnder

Front-end Tool Gulp Learning

I've heard it a long time ago that if you want to be a real web front-end engineer, you have to automate your build tools. Like Grunt,gulp,webpack. Always listen to the great God with these tools to build an automated front-end environment, what file compression, file merge, JS grammar check, CSS automatically add prefixes, compile Less/sass, automatically refresh the page, file renaming and so on. Once the file is configured, a command will allow the

Gulp Front-end automation build tool

Gulp is an automated build tool based on Nodejs,Can be automated to complete the JS CSS sass less HTML image testing, inspection, merging, compression, formatting, browser automatic refresh, deployment file generation, listening files.1: Nodejs (. msi) based on Nodejs2: Command Pack NPM,NPM is a NODEJS package management tool that installs and uninstalls node plugins.NPM Install XX-G Installation XX plug-in global installation--save Save Configuration

Gulp Package.json

{ "Name": "GulpAngular1", "Version": "0.0.0", "Dependencies": {}, "Devdependencies": { "Gulp": "~3.8.10", "Gulp-angular-templatecache": "~1.4.2",//Template Cache"Del": "~0.1.3",//Delete"Gulp-consolidate": "~0.1.2",//template Merge, support Jade,handbar edit into HTML (delete)"Gulp-csso": "~0.2.9",//Compress C

Gulp Installation and use

Gulp Installation and useTest environment mac:10.10.4 gulp:3.9.0 Time: August 15, 2015 18:07:08Installing Gulpsudo npm install --global gulpnpm install --save-dev gulpInput gulp -v , display version description successful installationUsing GulpCreate a file in the project root directory gulpfile.jsvarrequire(‘

"Mobile web Front end efficient development" note 2--using Gulp to build a ECMAScript 6 and Sass app

8.3.1 Installation and ConfigurationTo run gulp requires the node. JS Environment, see chapter II, Building the node. JS Environment. Using NPM to install gulp globally, the command is as follows:NPM Install Gulp-cli–gThen, create the Package.json file under the project root directory, with the following command:NPM InitBased on the boot configuration item inform

Popular Front-end build tool comparison, and gulp configuration

The front-end is now three pillars the build tool (not the older Ant,yeoman), not fis,grunt,gulp.FIS is the simplest to use, I intend to own the project using FIS.Let's talk about Gulp installation.The first step: Install node and NPM to build the node environment.Access http://nodejs.org. NPM is installed along with the installation package.Make sure that node and NPM are installed and that if the following two command lines are not properly installe

Gulp Combat (ii)

I. Configuring the Environment1. Nodejs-based installation Git,npm,gulp2. Install all kinds of plugins3. Reference documentation Http://www.tuicool.com/articles/UbaqyyJ Http://www.tuicool.com/articles/QzaqAbF http://www.gulpjs.com.cn/docs/api/ 1190000002932998 Two. Test Project structureThree. Configuration file codevarGulp = require (' Gulp ')), Del= Require (' del '),//Delete files/foldersGULPIF = require ('

Me and my ad front-end Code (VI): Webpack Project Merger, maybe I don't need gulp

original project too relies on gulp, after reading the VUE-CLI generated Webpack project, I intend to try to replace the project gulp into NPM script.So my task of optimizing this time has the following several:1, the Project merger: Webpack multi-entrance;2, Soucemap: Join the SOURCEMAP option, and differentiate the development of the environment and on-line environment;3, NPM script replacement

The novice was abused very miserably ah, gulp not internal command ...

In the project, after checkout from SVN, install the dependency package in the Node_modules through the Packages.json in the project: by entering the Gulpfile.js directory (D:\web), open the command line, enter the NPM install NPM Install After the load is complete, (the Gulpfile.js file is configured correctly) input gulp-v or gulp related commands (such as

Total Pages: 15 1 .... 7 8 9 10 11 .... 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.