gulp common set of functions (development and production separation, static resource compression optimization, code optimization, real-time compilation, hash)

gulp common set of functions (development and production separation, static resource compression optimization, code optimization, real-time compilation, hash) tags: gulp front-end automation development [TOC]A complete self-use framework based on self-use: cddgulpnpm point Heregithub point HereAnother self-use webpack 2.x + vue2.x real-time pr ...

Posted by rpadilla on Mon, 08 Apr 2019 23:03:30 -0700

CSS and SAS (SCSS) specifications

CSS and Sass (SCSS) style rules ID and class naming ID and class (class) names always use names that reflect the purpose and purpose of elements, or other generic names. Instead of appearances and obscure names. Names that reflect the purpose of the element should be preferred because they are the most understandable and least lik ...

Posted by Peredy on Mon, 08 Apr 2019 00:51:32 -0700

Gulp Installation + Use

Gulp-Flow-Based Automation Tool Using gulp, you can quickly build projects and reduce IO operations gulp executes tasks automatically in the process of project development to facilitate IO of object file content Guidelines for the Use of Official Websites http://www.gulpjs.com.cn/docs/getting-started/ Stream flow node.js inst ...

Posted by NCC1701 on Thu, 04 Apr 2019 20:24:31 -0700

gulp introductory course

Portal: Original link https://segmentfault.com/a/1190000002698606 Step 1: Install Node First and foremost, we need to build a node environment. Visit nodejs.org After downloading, run the program directly and get everything ready. npm It will be installed with the installation package and will be used later. To ensure that Node i ...

Posted by jonstu on Sun, 24 Mar 2019 23:48:29 -0700

webpack introduction + react environment configuration

Summary: This article mainly paves the way for react in advance. Webpack is a tool for modular management and packaging of front-end resources. To put it plainly, it is convenient for us to manage some of our commonly used codes, such as sass and jade in your development and es6 in the same time. You can't change one place to another in order ...

Posted by cheese on Sat, 23 Mar 2019 09:30:53 -0700

CUDA Pro Tip: Increase Performance with Vectorized Memory Access

Reference CUDA Pro Tip: Increase Performance with Vectorized Memory Access I tried it, as follows. (Forget it, don't write it, test a bunch of data, write it up in trouble.) This article mainly talks about vectorized load - vector loading (I think SIMD on CPU is a principle that loads more than one data at a time). Vector loading can be achi ...

Posted by davidlenehan on Tue, 12 Feb 2019 13:00:18 -0800

Webpack Installation (2) - Packing css, scss, less (including compilation, separation)

This article goes on. Webpack Installation (1) - Integrated Babel See the full code for details: https://github.com/lhtzbj12/webpack-demo 1. Pack the CSS file. First install css-loader and style-loader using the following commands cnpm install --save-dev css-loader style-loader 2. If you need to pack scss, you need ...

Posted by diesel_heart on Sat, 09 Feb 2019 22:36:18 -0800

Fabrication of electron imitating qq(2) main interface

Make it from scratch and finally put the written components together!Pure css, which has been written for several days, is a bit tiring. sass will be used in this chapter. If the code is too long, it will be written in two or more chapters.There will be detailed comments in the code for you to read and understand.The interface may be partially ...

Posted by ICKelly on Sat, 19 Jan 2019 19:54:12 -0800

Writing Difference between Single File Application and Multi-File Application of webpack.config.js Based on vue+webpack

1. Preface In recent days, some people have asked similar questions, that is, how to change the configuration of single-page applications to multi-file applications, or how to change the configuration of multi-file applications to single-file applications when building directories with vue and webpack. This situation, I have dealt with before, ...

Posted by phppssh on Sat, 15 Dec 2018 09:54:04 -0800