1. Install firstNode.jsEnvironment Official Website Address https://nodejs.org/en/ Text editor chooses sublime text3 (vs is too big)
2. Establishing projects
2.1 Create a new project folder, code-x code number x plan, and put it on the desktop
npm install -g vue-cli //Global Installation vue-c ...
Posted on Mon, 13 Jul 2020 11:03:10 -0400 by jobe1
Direct up component:
(there are detailed error reports and solutions later)
1. Open the indet.html File, insert script label into:
(there is a detailed tutorial after obtaining AK value)
<script type="text/javascrip ...
Posted on Fri, 26 Jun 2020 01:00:27 -0400 by bguzel
Performance optimization of development environment
Optimize packaging build speed (HMR)
HMR:hot module Replacement hot module replacement: when one module changes, only the changed modules will be repackaged, not all modules, to improve the construction speed
1. The style file can use the HMR funct ...
Posted on Wed, 24 Jun 2020 02:50:40 -0400 by ConnorSBB
I am "boiling sheep"_ , the nickname comes from the abbreviation fyy of the name. The blog that worked hard before was cancelled due to the accident of hand injury. Now it runs this account.
I am a small dish, working hard in the direction of the whole stack of engineers, the ar ...
Posted on Tue, 23 Jun 2020 22:30:51 -0400 by creativodev
Learning time: 2020.06.14Learning Chapters: Webpack HMR Principle Analysis
1. Introduction to HMR
Hot Module ...
Posted on Tue, 16 Jun 2020 12:15:01 -0400 by YourNameHere
What is VueX
1. vuex is a dedicated vue.js Application open state management mode.
2. Use centralized storage to manage the state of all components of the application.
3. And the corresponding rules ensure that changes can be made in a predictable way.
My understanding: public data state warehouse
2, Application scenario
1. Multiple v ...
Posted on Tue, 09 Jun 2020 00:27:54 -0400 by flattened
Code example reference:
webpack Project Example Reference:
It provides common advanced features in modern Web development:
Decoupling views and data
Front End ...
Posted on Sun, 07 Jun 2020 12:51:44 -0400 by xec
Because the file packaged in this example with a single entry is too large, it is divided into multiple entries.
The main files involved are:
new fileWebpack.dll.config.js, can be placed anywhere as long as the path is clea ...
Posted on Wed, 20 May 2020 12:25:35 -0400 by PHP_ColdFusion
In addition to packaging applications, webpack can also be used to package js libraries and some custom component libraries.
Just package js library and component library rollup Packing is also a good choice.
Let's implement a simple Packaging example, which needs to meet the following functions:
Package compression Version (X min.j ...
Posted on Wed, 20 May 2020 10:56:21 -0400 by Tubby
After learning the basis of Webpack, you will always be confused when you check the scaffold written by others. Later, you can check all kinds of materials on the Internet, modify them while referring to them, and complete a set of simple Scaffolding (uploaded to GiuHub and npm I have learned from Create React App (CRA) directory structure (as ...
Posted on Mon, 18 May 2020 22:56:33 -0400 by Vertical3