"Fashion learning Vue by rocket" -- Chapter 13: components in Vue (difficulties)

There are tens of millions of front-end frames, and the unique vue accounts for half I'm the fashion. Let's take a rocket to learn Vue                                    Chapter 1 ...

Posted by lazersam on Fri, 26 Nov 2021 21:42:40 +0100

"Fashion learning Vue by rocket" -- Chapter 11: binding syntax of user-defined components and classes in Vue

There are tens of millions of front-end frames, and the unique vue accounts for half I'm the fashion. Let's take a rocket to learn Vue   "Fashion learning Vue by rocket" -- Chapter 11: binding syntax of user-defined components and classes in Vue The last chapter recalled: "let me see it more!" the fashion said a litt ...

Posted by hideous on Fri, 26 Nov 2021 17:59:45 +0100

[Don't come to me after reading this] Explain the Vue data two-way binding principle

Preface After sorting out my own understanding of the principle of two-way binding of Vue data after learning, I by the way exclamate that Yuyuxi is too strong. If there are any errors, you are welcome to correct them. 1. Review of Basic Knowledge 1.1 Get attribute values chained using reduce method If the reduce method is not yet used ...

Posted by hoogie on Thu, 25 Nov 2021 18:05:48 +0100

Implementation principle of keep alive

1, Foreword The contents of this paper include: Keep alive usage: dynamic component & Vue routerKeep alive source code analysisHook of keep alive component and its package componentRendering of keep alive component and its package component 2, Introduction and application of keep alive 2.1 what is keep alive Keep alive is an abstract ...

Posted by adyre on Wed, 24 Nov 2021 23:39:07 +0100

Example of front and back end separated single page application (SPA) project (Vue+ElementUI+Axios+Django+MySql)

Example of front and back end separated single page application (SPA) project (Vue+ElementUI+Axios+Django+MySql) 1. Front end part 1. 1 construction of front-end vue platform Installation vue: vue official website: https://cn.vuejs.org/ There are three ways to install vue: Recommended installation method: npm installation scaffold (v ...

Posted by xyzleft on Wed, 24 Nov 2021 16:52:08 +0100

The back-end gives you 100000 pieces of data at a time. How to show it gracefully? What do you examine me?

prefaceHello, I'm Lin Sanxin. In the most popular words, the most difficult knowledge point is my motto. The foundation is advanced, and the premise is my initial intention. Today, I'll talk to you. If the back end really returns 100000 data to the front end, how can we show it gracefully in the front end? (haha, assuming that the back end can ...

Posted by Seraph on Tue, 23 Nov 2021 07:36:32 +0100

Using Module Federation in vue/cli

Using Module Federation in vue/cli The new features of webpack 5 are developed in modules. Multiple independent builds can form an application. There should be no dependency between these independent builds, so they can be developed and deployed separately. This is often referred to as a micro front end, but it is not limited to this. We divi ...

Posted by phyzar on Sun, 21 Nov 2021 05:04:14 +0100

Common instructions for vue

1. v-once Render elements and components only once. For subsequent re rendering, the element / component and all its child nodes are treated as static content and skipped. This can be used to optimize update performance. <div id="app"> <input type="text" v-model="msg"/> <p v-once>You enter:{{msg}}</p> </div> &l ...

Posted by Druid on Fri, 12 Nov 2021 16:38:49 +0100

h5 page route switching animation - left and right sideslip effect (v2)

The previous article described in detail the implementation idea and code of v1 version: h5 page route switching animation - left and right sideslip effect (v1) Later, many problems in v1 were found in the process of practice and have been reconstructed. Therefore, let's share a new implementation method, which is called v2 version. The core i ...

Posted by mattsinclair on Fri, 12 Nov 2021 08:40:05 +0100

"Quick start TypeScript" TypeScript functional programming

catalogue 1, Functional programming style The variable type can be a function The literal can be a function The field of the object can be a function The argument to a function can be a function The return value of a function can be a function Parameters and return values are functions Higher order function 2, No side effects 3, Reference tr ...

Posted by formlesstree4 on Thu, 11 Nov 2021 04:51:05 +0100