Day 5 of the project [official website] - Coding of query result page

Project [official website] day 5 - Coding of query result page Project development process General directory: the birth of the project [official website] The first day of the project [official website] - building the overall framework of the back end The second day of the project [official website] - Preparation of back-end C-end interface ...

Added by KeitaroHimura on Sun, 09 Jan 2022 15:26:42 +0200

Vue--provide/inject -- use / tutorial / instance

Original website: Vue--provide/inject -- use / tutorial / instance_ CSDN blog brief introduction explain This article introduces the usage of provide and inject in Vue with examples. Official website Provide / Inject | Vue.js API — Vue.js Introduction to provide and inject explain Through provide and inject, the data and methods of the ...

Added by chetanmadaan on Sat, 08 Jan 2022 18:52:16 +0200

♠ Vue template syntax and vue3 changes

Changes brought about by Vue3 (performance) Data hijacking using Proxy In Vue2 X, Vue2 uses object Defineproperty to hijack the getter and setter methods of data; One defect of this method is that when adding or deleting attributes to an object, it cannot be hijacked and monitored; So in vue2 X, we have to provide some special APIs, such as $s ...

Added by mohson on Fri, 07 Jan 2022 18:26:35 +0200

Vue dynamic binding class

When learning js, we learned how to dynamically switch element styles. The specific steps are as follows: Get element first Modify the style. Modify through className or style <head> <style> .class1 {         border: 1px solid black;         height: 20px;         width: 20px;       } </style> </head> <body&gt ...

Added by aperales10 on Fri, 07 Jan 2022 03:04:20 +0200

Vue (15) - Vue scaffold configuration agent, slot (default slot, named slot, scope slot)

catalogue 1, vue scaffold configuration agent   1. Method 1   2. Method 2 2, Slot   1. effect   2. classification   3. Mode of use         1. Default slot         2. Named slot         3. Sco ...

Added by rationalrabbit on Thu, 06 Jan 2022 01:59:01 +0200

[Vue] transition makes your v-if and v-show have a beautiful transition and animation

[Vue] transition makes your v-if and v-show have a beautiful transition and animation Blog description Part of the information involved in the article comes from the Internet. Of course, there are my own personal summaries and opinions. The purpose of sharing is to build a community and consolidate myself. If there is infringement on the c ...

Added by dtasman7 on Wed, 05 Jan 2022 22:09:10 +0200

Detailed explanation of three elements of Vue Router: route map, route view and route navigation

Using Vue router module Install the Vue router library before using Vue router cnpm install vue-router –save Three elements of Vue router Route map, route view, route navigation Route map refers to the mapping relationship between route and component; Route view refers to the rendering location of the corresponding component of route mappi ...

Added by mattotto77 on Wed, 05 Jan 2022 18:58:38 +0200

Performance optimization loading pit record

The packaging volume of the project is large, and the loading time of the first screen of the page is too long, resulting in a white screen. Therefore, the ultimate purpose of performance optimization is to improve the user experience. 1,BundleAnalyzer Function: display the packaging graphical information, open an html page to help you analyz ...

Added by dkim777 on Wed, 05 Jan 2022 15:30:35 +0200

[Vue] dark horse Vue quick start notes

[Vue] dark horse Vue quick start notes brief introduction Vue (pronunciation / vju) ː/, Similar to view), it is a set of progressive [JavaScript] framework for building [user interface]. Unlike other large frameworks, Vue is designed to be applied layer by layer from bottom to top. Vue's core library only focuses on view layers, which is not ...

Added by cruzbullit on Wed, 05 Jan 2022 07:47:42 +0200

The El form item attribute prop in element

Recently, I was responsible for front-end and back-end project development. One requirement is to implement djangorest framework (drf) + element to dynamically render form forms. The drf back-end provides json, and the front-end obtains form elements from json and binds form validation rules An error is reported on the property prop of El form ...

Added by BK87 on Wed, 05 Jan 2022 03:04:54 +0200