Learning Gulp
gulp #gulp Table of Contents About 1 Chapter 1: Getting started with gulp 2 Remarks 2 Versions 2 Examples 2 Installation or Setup 2 1. Install Node.js and NPM: 2 2. Install gulp globally: 2 4. Install gulp in your project devDependencies: 3 5. Create a gulpfile.js at the root of your project: 3 6. Run gulp: 3 Task dependency 3 Concat js file in sub folder using gulp 4 gulp CLI docs 4 References 6 Examples 6 Setting up Browser sync And Configuring Watchers for Style and Script 6 NOTE 6 Gulp Watchdog Task 6 Snippet - 1 - inside watchdog boilerplate 7 snippet - 2 - inside watchdog boilerplate0 码力 | 45 页 | 977.19 KB | 1 年前3Gulp 入门指南
来源:https://github.com/nimojs/gulp-book gulp 是基于 node 实现 Web 前端自动化开发的工具,利用它能够极大的提高开发效率。 在 Web 前端开发工作中有很多“重复工作”,比如压缩CSS/JS文件。而这些工作都是有规律的。找到这 些规律,并编写 gulp 配置代码,让 gulp 自动执行这些“重复工作”。 将规律转换为 gulp 代码 现有目录结构如下: └── dist/js/ 目录下 编写 gulp 代码 // 压缩 JavaScript 文件 gulp.task('script', function() { // 1. 找到 gulp.src('js/*.js') // 2. 压缩 .pipe(uglify()) // 3. 另存 .pipe(gulp.dest('dist/js')); dest('dist/js')); }); 代码执行结果 代码执行后文件结构 └── js/ │ └── a.js └── dist/ └── js/ └── a.js gulp 入门指南 - 1 - 本文档使用 看云 构建 a.js 压缩前 function demo (msg) { alert('--------\r\n' + msg + '\r\n--------') }0 码力 | 36 页 | 275.87 KB | 1 年前3BabelJS Tutorial
............................................................................ 57 ES6 modules and Gulp ................................................................................................. .................................................... 147 18. BabelJS — Working with BabelJS and Gulp ........................................................................................... 150 next upcoming version of JavaScript — ES6, ES7, ESNext, etc. ● BabelJS can be used along with gulp, webpack, flow, react, typescript, etc. making it very powerful and can be used with big project0 码力 | 173 页 | 2.70 MB | 1 年前3TypeScript Handbook(中文版)
2.8 2.9 2.10 2.11 2.12 3 3.1 3.2 目录 介绍 快速上手 5分钟了解TypeScript ASP.NET Core ASP.NET 4 Gulp Knockout.js React与webpack React Angular 2 从JavaScript迁移到TypeScript 新增功能 TypeScript 2.4 TypeScript 学习,PRs Welcome!!! 在相关链接的末尾可以找到本手册的Github地址。 目录 快速上手 5分钟了解TypeScript ASP.NET Core ASP.NET 4 Gulp Knockout.js React与webpack React Angular 2 从JavaScript迁移到TypeScript 新增功能 TypeScript 2.4 TypeScript TypeScript语言规范 本手册中文版Github地址 TypeScript Handbook(中文版) 7 介绍 Table of Contents ASP.NET Core ASP.NET 4 Gulp Knockout.js React与webpack Angular 2 从JavaScript迁移到TypeScript TypeScript Handbook(中文版) 8 快速上手0 码力 | 557 页 | 7.48 MB | 1 年前3TypeScript 4.0 使用手册
目 录 致谢 README Introduction 快速上手 5分钟了解TypeScript ASP.NET Core ASP.NET 4 Gulp Knockout.js React与webpack React Angular 2 从JavaScript迁移到TypeScript 手册 基础类型 变量声明 接口 类 函数 泛型 枚举 类型推论 TypeScript README - 7 - 本文档使用 书栈网 · BookStack.CN 构建 快速上手 5分钟了解TypeScript ASP.NET Core ASP.NET 4 Gulp Knockout.js React与webpack React Angular 2 从JavaScript迁移到TypeScript 手册 基础类型 变量声明 接口 类 函数 Welcome!!! 在相关链接的末尾可以找到本手册的Github 地址。 Introduction 快速上手 5分钟了解TypeScript ASP.NET Core ASP.NET 4 Gulp Knockout.js React与webpack React Angular 2 从JavaScript迁移到TypeScript 手册 基础类型 变量声明 接口 类 函数0 码力 | 683 页 | 6.27 MB | 1 年前3前端开发者指南(2017)
H5 混合式移动开发在多数情况下 不具备足够优势。 React Native 和 NativeScript 开始替代 H5 混合式 webview 开发。 大多数人舍弃 Gulp 转而使用 NPM 脚本,但 Gulp 仍受欢迎。 SASS 工具继续受到欢迎,与此同时 PostCSS(+ CSSNext)开始发展。 大多数开发者都开始对 HTML、CSS 和 JavaScript(ESlint 上述领域是专家的人非常稀 少,甚至少的出奇。 不过,考虑到 JavaScript 已经渗透到了整套技术栈的所有层面(例如:React, node.js, express, couchDB, gulp.js 等),找到一个会前端开发和后端开发的 JavaScript 开发者并没 有那么难。通常,这些全栈开发人员只需要关心 JavaScript —— 不像先前那样荒谬(还要关 心视觉设计、交互设计和 Rollup SystemJS: 用 SystemJS 和 jspm 编写现代的,模块化的 JavaScript 代码 [视频][付费] 注释: 开发者使用类似于 Gulp 之类的 JS 模块化打包工具来帮助开发并不鲜见。然而,许多的 Gulp 插件本质上仅仅是利用了 Webpack, Rollup, 或者 SystemJS 而已。 学习模块加载和打包工具 83 关于包管理工具的学习 包管理0 码力 | 164 页 | 6.43 MB | 1 年前3Laravel 5.0 Documentation
Authentication v. IoC Based Extension vii. Elixir i. Introduction ii. Installation & Setup iii. Usage iv. Gulp v. Extensions viii. Encryption i. Introduction ii. Basic Usage ix. Errors & Logging i. Configuration your assets. If you've ever been intimidated by learning Grunt or Gulp, fear no more. Elixir makes it a cinch to get started using Gulp to compile your Less, Sass, and CoffeeScript. It can even run your quickly. Homestead includes Nginx 1.6, PHP 5.6, MySQL, Postgres, Redis, Memcached, Beanstalk, Node, Gulp, Grunt, & Bower. Homestead includes a simple Homestead.yaml configuration file for managing multiple0 码力 | 242 页 | 1.44 MB | 1 年前3django cms 3.3.x Documentation
[http://eslint.org]. In order to run the linter you need to do this: gulp lint Or you can also run the watcher by just running gulp. Process This is how you fix a bug or add a feature: 1. fork [http://github get the correct version of Node. 2. Globally installed gulp [https://github.com/gulpjs/gulp/blob/master/docs/getting- started.md#1-install-gulp-globally] 3. Local dependencies npm install Styles We org/] implementation of Sass compiler through Gulp [http://gulpjs.com/]. In order to compile the stylesheets you need to run this command from the repo root: gulp sass While developing it is also possible0 码力 | 386 页 | 1.56 MB | 1 年前3django cms 3.4.x Documentation
[http://eslint.org]. In order to run the linter you need to do this: gulp lint Or you can also run the watcher by just running gulp. Process This is how you fix a bug or add a feature: 1. fork [https://github [https://github.com/creationix/nvm] to get the correct version of Node. 2. gulp - see Gulp’s Getting Started notes [https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md] 3. Local dependencies npm org/] implementation of Sass compiler through gulp [http://gulpjs.com/]. In order to compile the stylesheets you need to run this command from the repo root: gulp sass While developing it is also possible0 码力 | 395 页 | 1.64 MB | 1 年前3django cms 3.5.x Documentation
[http://eslint.org]. In order to run the linter you need to do this: gulp lint Or you can also run the watcher by just running gulp. Process This is how you fix a bug or add a feature: 1. fork [https://github [https://github.com/creationix/nvm] to get the correct version of Node. 2. gulp - see Gulp’s Getting Started notes [https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md] 3. Local dependencies npm org/] implementation of Sass compiler through gulp [http://gulpjs.com/]. In order to compile the stylesheets you need to run this command from the repo root: gulp sass While developing it is also possible0 码力 | 403 页 | 1.69 MB | 1 年前3
共 322 条
- 1
- 2
- 3
- 4
- 5
- 6
- 33