Introduction and use of gulp construction tools

1. Create an empty folder and install the dependency package npm i gulp --save-dev 2.npm init Used to generate package.json file 3. Install possible modules: NPM install gulp imagemin -- save dev / / image compression module NPM install gulp uglify -- save dev JS / / compression module NPM install gulp sass -- save dev s ...

Posted on Sun, 09 Feb 2020 11:47:35 -0500 by Waseem Ullah Kh

Introduction to webpack & configuration item analysis

Welcome to qq group: 757345416 Introduction to webpack: webpack is the most popular module loader and packaging tool in recent years. It can use and process all kinds of resources, such as JS (including JSX), coffee, style (including less/sass), pictures and so on, as modules. webpack is a module loader and packaging t ...

Posted on Fri, 03 Jan 2020 06:17:18 -0500 by marmite

vue mobile architecture based on vux

Project framework vue mobile solutions Using technology vue mobile ui solution vux Adaptive mobile end solution px2rem css solution sass State Manager vuex Other cnpm Installation of scaffold based on VX npm install vue-cli -g # If not already installed vue init airyland/vux2 projectPath cd projectPath npm ...

Posted on Tue, 31 Dec 2019 22:16:49 -0500 by longtone

Solution to node sass error reporting in vue+webpack project after nodejs upgrade

Solutions to node sass error reporting when upgrading node environment to v8 ^ Today, I upgraded the system for my colleague's computer and all the software by the way. I found that the original good project was reported as wrong. The general information of error reporting is as follows: ERROR Failed to compile with 1 error ...

Posted on Tue, 31 Dec 2019 15:00:29 -0500 by renzaho

css preprocessor

God, I've been learning Sass recently, and I just know it's really powerful~~~~~ Let me admire such a little white. At present, the common preprocessor languages of css mainly include Sass(Scss), Less, PostCSS and Stylus 1. The following navbar NAV. Drop-down selector has repeated parts .navbar-nav .drop-down {    width: 180px; } .navb ...

Posted on Wed, 25 Dec 2019 12:33:01 -0500 by sniperscope

Using React to make a slide show component

Jianghu rules ~ no picture, no truth, first picture! This is a slide carousel component of the exhibition list. Click the left and right buttons to slide left and right. Each time, you can slide a specified number of lines of content. My front-end rookies, big guys light spray whine Let's share the code Because I use React + Typescript to do th ...

Posted on Tue, 10 Dec 2019 14:13:13 -0500 by Remote4ever

Use of custom font icon in vue3.0

Previous methods: Search icoont official website for required icons Add in storage Add to project Download material to local Import font file into page usage method: <i class="iconfont user-icon"></i> Disadvantages: if you want to add a new icon to the project, you need to repeat the above operations and download the overlay file ...

Posted on Sat, 07 Dec 2019 14:17:46 -0500 by sgoldenb

Webback4. X configuration of vue project

These two days, I played with webback and lay in a lot of holes. Today, I read a blogger's article to solve this problem. He explains each part of the configuration. 99.9% of the following configuration is copied from the blogger: https://www.cnblogs.com/nianyifenzhizuo/p/10271001.html Installing node sass in package.json may not succeed due to ...

Posted on Tue, 03 Dec 2019 10:14:09 -0500 by DigitalNinja

Vue element UI vuex for skin switch

1. install sass npm install --save-dev sass-loader npm install --save-dev node-sass 2. Add configuration in the rules of webpack.base.conf.js under the build folder { test: /\.sass$/, loaders: ['style', 'css', 'sass'] } 3. Install the custom theme tool of elementui npm i element-theme -g npm i element-theme-chalk -D ...

Posted on Mon, 02 Dec 2019 11:13:25 -0500 by ijmccoy

Getting Started with the web Front End to Practice: Pure HTML for Several Useful web Page Effects

Many of the page effects we've seen before require JS to work together, but in this article, I'll show you how to use pure HTML to create your own useful effects. 1. ** Fold the accordion** Using Details and Summary tags, you can create a collapsible accordion without JavaScript code. Effect:   HTML <details> <summary>Languages Us ...

Posted on Sat, 16 Nov 2019 20:13:18 -0500 by TRI0N