Web pack development and production environment configuration
Preface
The author started using webpack last year, and the first contact came from vue-cli. At that time, the main focus of work was also the use of vue. Little was known about the configuration of webpack. During that time, some questions were also asked about Daniel @Lv Dabao. By the way, for children's shoes with confused front-end knowledg ...
Added by think-digitally on Sat, 08 Jun 2019 03:47:45 +0300
One-page Application (SPA) Construction Based on Reaction Technology Stack Quick Start Practice
Summary
This article uses create-react-app as scaffolding, and combines react + redux + react-router to build a simple single-page application demo. The article will step by step explain how to build such a one-page application. The corresponding demo address will be given at the end of the article.
This paper mainly explains the practical proc ...
Added by jansky on Tue, 04 Jun 2019 21:14:24 +0300
Webpack 4 series of tutorials (15): development mode and webpack-dev-server
Author's Note: Because the pictures shown in the tutorial are github warehouse pictures, friends with slow network speed please move. "Webpack 4 series of tutorials (15): development mode and the original address of webpack-dev-server" . Welcome to my small station to see more original content: godbmw.com "Posture" communic ...
Added by Michiel on Fri, 17 May 2019 21:33:55 +0300
The Road to Vue Learning (5) - Lifecycle Hook Function Configuration Options Trigger Demo
beforeCreate
After instance initialization, data observer and event/watcher event configurations are invoked.
created
Called immediately after instance creation is complete.In this step, the instance has completed the following configurations: data observer, operation of attributes and methods, and watch/eve ...
Added by lilleman on Tue, 14 May 2019 23:42:33 +0300
Quick Use of vue+webpack
First, there are two ways to use vue:
1. Download vue.js
<script src="vue.js"></script>
2. use npm
npm install vue
2. On the basis of vue's mvc idea, there will be many functions to be realized, which can be written without being native. For example, ajax requests, various plug-ins.
Install vue-cli to enable these ...
Added by eddjc on Tue, 14 May 2019 16:14:53 +0300
vue+webpack4 multi-page packaging configuration
vue+webpack4 multi-page packaging configuration
There are usually two forms of multi-page configuration, one is multi-page multi-configuration, the other is multi-page single configuration. Because webpack (more than 3.1) can directly process an array of configuration objects, it is possible to write a configuration for each page individually. ...
Added by ndorfnz on Tue, 14 May 2019 15:24:39 +0300
Research on Switching Page Theme Style and less Tutorial
One day, a big man in the headline asked me, I heard that you had made theme switching in the project before, how did you achieve it at that time? Can you elaborate on it?
If you already know less like the palm of your hand, Start right here..
From less
Use
Less is used in Node.js environment:
npm install -g less
> lessc styles.less styles. ...
Added by moe180 on Sun, 12 May 2019 13:24:49 +0300