MVVM mode in Vue
preface
in the context of rapid iteration of Internet products, front-end developers should not only write pages, but also complete page dynamic effects through ajax+js. There is great pressure. In order to solve this problem, MVVM development mode was born.
MVVM is short for model view view model -M: Model refers to data -V: Vie ...
Added by gyash on Sun, 27 Feb 2022 15:15:21 +0200
webpack usage process
webpack workflow?
webpack overview
webpack is a popular front-end project construction tool (packaging tool), which provides functions such as code compression confusion, js compatibility, performance optimization and so on, so that programmers can focus on the specific function implementation.
webpack usage process
First, you need to in ...
Added by BioBob on Sun, 27 Feb 2022 13:52:26 +0200
Reverse crawler 24 JQuery and Ajax
Reverse crawler 24 JQuery and Ajax
I Closure supplement
In the previous section, it was said that the closure function transmits information outward through return. In fact, there is another way to transmit information outward without return. Create a window global variable inside the function, assign the value of the local variable to it, an ...
Added by yame conoces on Sun, 27 Feb 2022 13:15:05 +0200
Small program cloud development likes case implementation and environment vant plug-in configuration
Recently, I was engaged in a small program competition. What's more, I briefly recorded the pit I stepped on during the development of learning small programs and the problem of high blood pressure. In addition, this document was recorded by me when I learned the new vision course at station b. If you need it, you can go to station b to have a ...
Added by tobykw13 on Sun, 27 Feb 2022 10:32:03 +0200
Teach you to write a simple micro front-end frame
Recently, I saw the source code of several micro front-end frameworks( single-spa,qiankun,micro-app ), I feel I have gained a lot. So I plan to build a mini wheel to deepen my understanding of what I have learned.
This wheel will be divided into five versions to gradually realize a minimum available micro front-end frame:
Support sub applicat ...
Added by electronish on Sun, 27 Feb 2022 10:13:19 +0200
JSDOM and BOM study day 6
Day 6 of BOM and DOM learning
Today's learning objectives
Mobile web effects
1. Touch screen events
1.1 overview of touch screen events
Browser compatibility: the mobile browser has good compatibility and can safely write code using native js Features of mobile terminal: touch event The touch object represents a touch point Common ...
Added by londonjustin on Sun, 27 Feb 2022 04:26:16 +0200
JavaScript condition and loop structure
Learning objectives
Master the key points of using JavaScript conditional structure statementsMaster the simple method of JavaScript to get and modify HTML elementsMaster the usage of common events in JavaScriptMaster the key and difficult points of using JavaScript circular structure statementsMaster the use of break and continue keywords ...
Added by thepip3r on Sat, 26 Feb 2022 22:20:40 +0200
[WeChat Applet Foundation] Java Script's first exposure to Java Script from getting started to giving up
Preface
Now that you've vowed to be a full stack engineer, you've learned to draw PCB s, C, ESP32(WiFi) programming, Linux application programming, processes, threading, network programming, and so on, and how devices connect to the cloud platform. Now it's just a matter of mobile control, and the WeChat applet is undoubtedly the first c ...
Added by LikPan on Sat, 26 Feb 2022 20:11:56 +0200
[Vue] Part XII communication between components (custom event, global event bus, message subscription and Publication) is very important
[Vue] Part XII communication between components (custom event, global event bus, message subscription and Publication) is very important
12. Communication between components (custom event, global event bus, message subscription and Publication)
12.1 component customization events
Function: it can realize the communication between ...
Added by worldofcarp on Sat, 26 Feb 2022 19:06:19 +0200
Overview of vue component data transmission, minxin and vuex
Summary of data transfer methods of vue components
Component slot
Named slot
Parent component
<ss @toFOO="zidata=$event">
<p slot="slot1">Slot 2</p>
<p slot="slot2">Slot 3</p>
</ss>
Subcomponents
<slot name="slot1"></slot>
<slot name="slot2"></slot>
When defining a ...
Added by zleviticus on Sat, 26 Feb 2022 18:38:08 +0200