Creating vue3 project templates using vite

When you want to create a vue project independently and have no way to start, such a project can solve this problem. It contains the basic project directory, classified by folder and improve efficiency. So start creating our project! We use vite to create projects, which is faster npm install -g create-vite-app //Install global create vite a ...

Added by justinede on Mon, 27 Dec 2021 09:18:30 +0200

Some conclusions of vue

1. Preparation of software First, install some plug-ins after downloading from the official website: Then, some basic configurations can be made based on the Beautify plug-in: Step 1: click Settings Step 2: find the setting of beauty   Step 3: open setting json   Step 4: add custom code My is as follows:   //Resolving Vue line br ...

Added by Chadian22 on Mon, 27 Dec 2021 07:07:47 +0200

Echarts used in vue

Recently, in the reconstruction of the company's system background, the project adopts the front-end and back-end separation mode. I am responsible for the development of data statistics interface and front-end module. Last week, the data statistics interface was provided. This week, the front-end will be written. The front-end mainly uses char ...

Added by bryanzera on Sun, 26 Dec 2021 10:44:31 +0200

Basic concept and principle of routing

1. Concept of routing 1.1 routing Routing is a broad and abstract concept. The essence of routing is a correspondence. For example, after we enter the url address we want to access in the url address, the browser needs to request the resource corresponding to the url address.Then there is a corresponding relationship between the url address a ...

Added by neave on Sun, 26 Dec 2021 05:41:37 +0200

Simple application of keep alive

Simple application of keep alive Business scenario The user browses a data list. When the number of data lists is large or there are many filter / search criteria, click View Details and then return. It is necessary to return to the state when leaving the list; If the amount of data is too large, the return speed and rendering speed of the i ...

Added by nic0las on Sat, 25 Dec 2021 22:41:03 +0200

vue3 quick start

vue3 quick start three Responsive data Get the responsive data. The responsive data in vue3 is very different from that in vue2. Proxy is used to proxy the object, and all members in the depth proxy object are better than the original object Defineprototype improves efficiency and enables dynamic addition and deletion of object member respons ...

Added by mikejs on Sat, 25 Dec 2021 22:24:45 +0200

Vue particle effects (Vue particles plug-in)

The points and lines in the figure above are generated by Vue particles. They can not only move by themselves, but also interact with user mouse events. 1, Using the tutorial: install npm install vue-particles --save In main JS add the following code: import VueParticles from 'vue-particles' Vue.use(VueParticles) It can be use ...

Added by neveriwas on Sat, 25 Dec 2021 22:21:02 +0200

Standard and Vue event overloading, preventing event bubbling, preventing default behavior of events, and Vue event handling (three modifications and. exact)

1, Event overload <button @click="c1">Click 1</button> <button @click="c2('Zhang San')">Click 2</button> <button @click="c3('Li Si', $event)">Click 3</button> methods: { c1(e) { // There are no parameters, and $event is passed by default console.log(e); // MouseEvent object }, c2(val) { ...

Added by jagguy on Fri, 24 Dec 2021 22:54:50 +0200

Develop a Utools Markdown editor plug-in using Vue3 + vite + elementUI

objective Utools has been used by bloggers for a long time, and its members continue to 2024. It follows bloggers from Deepin to Manjaro, to Windows and to MacOS. It is very convenient in many scenarios, such as selecting text middle key translation, automatic formatting after copying JSON, regular expression matching gadgets, calculating man ...

Added by salasilm on Fri, 24 Dec 2021 10:56:16 +0200

Analysis of Vue Computed principle from the perspective of source code

preface For the calculated attribute, you have to ask it almost every interview. Before that, you have to rely on your own understanding of what is used in the business, but this is still too shallow and often not the answer required by the interviewer. So I just want to read the computed source code and know its working principle, so that I c ...

Added by e39m5 on Fri, 24 Dec 2021 08:46:20 +0200