Vue implements in situ editing of table cells

Vue implements in situ editing of table cells Here are the notes of Vue beginners. Please avoid the old bird. If you are a warm-hearted elder, we earnestly look forward to your valuable comments. at first There is a small demand. I hope to read excel files through the browser and modify data on the web page. I checked some JS plug-ins ed ...

Posted by sv4rog on Thu, 10 Feb 2022 07:48:40 +0100

Get started with React routing quickly without nonsense

This article aims to be concise and help you get started quickly. By default, you have been exposed to routing related development install Enter the following command to install: // npm npm install react-router-dom // yarn yarn add react-router-dom React router related labels There are eight common components of react Router: import { ...

Posted by xtiano77 on Thu, 10 Feb 2022 06:04:03 +0100

electron5+vue3.0 build a desktop application

Before, because the project needs to do a desktop application, I learned some basic knowledge on bilibili and then referred to it[ https://zhuanlan.zhihu.com/p/75764907 ]This blog has built a desktop price query application of electron+vue. This article records the construction process and some problems encountered I Fundamentals of electron ...

Posted by predhtz on Thu, 10 Feb 2022 04:32:16 +0100

Web Components series - create Custom Elements

preface According to the previous introduction, we know that custom elements can be divided into two categories according to whether they inherit basic HTML elements or not“ Autonomouscustom elementsCustomized built-in elements This raises a question: what is the difference between the two in use? Let me try to explain this problem ...

Posted by henkealf on Thu, 10 Feb 2022 00:45:18 +0100

vue common instructions

1. v-text v-text is mainly used to update textContent, which can be equivalent to the text attribute of JS. <span v-text="msg"></span> The two are equivalent: <span>{{msg}}</span> 2. v-html Double curly braces interpret the data as plain text rather than HTML. In order to output real HTML, you can use the v-html ...

Posted by tommyda on Wed, 09 Feb 2022 22:48:11 +0100

Vue component value transfer

Vue parent-child component value transfer Function of components Components are user-defined elements, extensible html elements, and encapsulate reusable code. Benefits: 1. If there is a function that can be used in many places, there is no need to write this function repeatedly as a component; 2. The content of the page will be concise; Co ...

Posted by ben_johnson1991 on Wed, 09 Feb 2022 16:48:35 +0100

Freemaker page static technology

I background When accessing dynamic pages, users need to send a request to query the database through ajax to obtain dynamic data for display, but if the page has a large amount of visits and the data in the database changes frequently The rate is not high, which will cause great access pressure to the database. How to decompress the da ...

Posted by PrivatePile on Wed, 09 Feb 2022 16:11:10 +0100

Super full html notes

html learning notes Learning materials https://www.w3school.com.cn/html/index.asp Most commonly used labels Title: < H1 > - < H6 > Paragraph: < p > Link: < a > Image: < img > Horizontal line: < HR / > Blank line / line feed: < br / > Section or area: < div > Intra line block: < s ...

Posted by Dvorak on Wed, 09 Feb 2022 13:11:13 +0100

Module module in ES6

Before ES6, JavaScript had no module system, so it was impossible to split a large program into interdependent small files and assemble them in a simple way. The community has developed some Module loading scheme , the CommonJS specification is very good, but it is not applicable to the browser environment, so there are two schemes: AMD and CMD ...

Posted by Ixplodestuff8 on Wed, 09 Feb 2022 12:34:26 +0100

Principle analysis of on-demand loading

brief introductionUnderstand the basic knowledge of Babel plug-in and the internal principle of on-demand loading. I'm no longer afraid of the interviewer asking me the implementation principle of on-demand loading.import { Button } from 'element-ui'How did it becomevar Button = require('element-ui/lib/button.js') require('element-ui/lib/theme- ...

Posted by TheVoice on Wed, 09 Feb 2022 09:13:07 +0100