Vue performance optimization method
The examples are from https://www.youtube.com/watch?v=5B66qer8cZo Partially reproduced in link: https://www.jianshu.com/p/f372d0e3de80
Functional components
Because the life cycle processing of components is very time-consuming at the framework level, it is recommended to use functional components ...
Added by coditoergosum on Mon, 22 Jun 2020 10:53:47 +0300
Touch and take you to understand Vue's responsive principle
preface
As the core of Vue, responsive principle uses data hijacking to realize data-driven view. In the interview is often examined knowledge points, but also interview bonus items.
This paper will analyze the workflow of response principle step by step, mainly in the following structure:
Analyze key members and understand them to help unders ...
Added by chanchelkumar on Mon, 22 Jun 2020 06:07:29 +0300
Building guide of vuePress blog
Building guide of vuePress blog
node environment and npm support required
If npm will not be installed, go to: Installation instructions
Overview of vuePress
Static website generator driven by Vue
Generating web pages based on markdown syntax
Customizable and extensible styles
Can be published to gi ...
Added by irandoct on Sun, 21 Jun 2020 12:49:03 +0300
Take you 10 days to be proficient in the vue framework and realize data request through axios
4. Data request through axios
vue.js ajax is not available by default.
So when using vue, we usually use axios plug-in to realize the data interaction between ajax and back-end server.
Note that axios are essentially ajax encapsulation of javascript, so they are limited by the same origin policy.
plug ...
Added by akelavlk on Thu, 18 Jun 2020 10:59:19 +0300
vue (11): route parameters, route nesting, route naming view
Route parameters
Routing parameters are divided into two categories: url parameters and to parameters in < router link > tags
url reference
1. query parameters
<div id="app">
<router-link to="/login?id=10&name='Ha ha ha'">Sign in</router-link>
<router-link to="/registe ...
Added by SuperCam on Mon, 15 Jun 2020 04:54:59 +0300
Epidemic map data display platform
Epidemic data map display
The realization of Chinese map
First look at the renderings.
The whole project is completed under the vue framework. After the routing configuration is completed, you can start the map display part. Here I will only show the domestic epidemic part, which I have completed in ...
Added by paulspoon on Sun, 14 Jun 2020 12:26:34 +0300
vue upload image to base64, binary array, save encoded data to file
functional requirement
1. Picture to base64
2.base 64 to binary array
3. Save binary data to file and download to local
resolvent
Question 1:
reference material
vue element upload picture to base64
Specific code
getBase64(file) {
return new Promise(function (resolve, reject) {
let reader = new FileReader();
let imgResu ...
Added by error_22 on Fri, 29 May 2020 17:49:11 +0300
Sharing of learning notes in uni
Table of contents
01. Summary of problems encountered
02. About layout settings
03. Basic grammar summary
04. About interaction
06. About returning data
07. About network requests
08. About page refresh
09. Notes
10. To be solved and considered
01. Summary of problems encountered
In my page, there is a problem defining the class of view as l ...
Added by astaroth on Sun, 24 May 2020 05:12:06 +0300
VUE Array Update
1. Classification of data methods:
(1) Changes in the original array
push pop unshift shift reverse sort splice
(2) The original array remains unchanged, resulting in a new array
slice concat filter
For methods that change the original array, you can ...
Added by mwilson on Wed, 20 May 2020 19:32:21 +0300
Build your own component library based on Vue
Address of the project: https://husilang.github.io/zm-ui
Project reference: Build Vue component library VV-UI from scratch
The original intention of the project is to learn how to encapsulate a Vue based UI component library, and record each step by the way, as well as the difficulties and experiences encountered in the process.
Here is my pers ...
Added by shane0714 on Mon, 18 May 2020 16:59:56 +0300