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

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

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

Using jQuery,vue implements synchronous requests

In general, asynchronous requests are used in most scenarios, which can be implemented using ajax, axios and other technologies;   The most commonly used method in the middle is the ajax method of jquery; There are also axios of vue in recent years $.ajax({ url: "XXX",//Request path data: { param1: jsonObj1, params2: str2... }, ...

Posted by Sxooter on Wed, 09 Feb 2022 02:42:13 +0100

vue.js project tiktok APP- eleventh: application of login and verification code

[warm tips]: if you want to know more about the actual combat content of this project, you can go to vue.js project tiktok APP- project planning Learn more about project planning. [project address] The project is managed by Git, and the final project will be released to GitHub. Interested partners can learn together to improve the project. Pro ...

Posted by Mad_T on Tue, 08 Feb 2022 16:47:56 +0100

Vue3 - Vuex use

Vuex is suitable for complex state management Install the specified version in Vue3 npm install vuex@next Basic use process of Vuex Simple version Create a folder at the same level as components store / index js import {createStore} from 'vuex' const store = createStore({ state(){ return{ count:0 } }, mutations:{ ...

Posted by Aérolithe on Tue, 08 Feb 2022 13:42:16 +0100

Using CSS Grid to build complex layout is a super practical skill!

Author: shadeTranslator: front end XiaozhiSource: dmitripavlutinThere are dreams and dry goods. Wechat search [Daqian world] pays attention to this dish washing wisdom who is still washing dishes in the early morning.This article GitHub https://github.com/qq449245884/xiaozhi There are some complete series of articles and interview materials in ...

Posted by jasonscherer on Tue, 08 Feb 2022 09:29:48 +0100

GUI programming --- Snake game development

① First knowledge theory Frame: the time slice is small enough = "is the animation, 1 second 30 frames. Connect is animation, open is static picture! Keyboard monitor Timer timer ② Game development ideas (define data, draw a panel, and listen for events (keyboard / event)) 1. First of all, a game main startup class, StartGame class, in ...

Posted by MikeUK on Tue, 08 Feb 2022 00:00:51 +0100

The accept attribute of the El upload upload component limits the file type (detailed explanation of the case)

[Chen Xi should work hard]: hello, I'm Chen Xi. I'm glad you can read it. My nickname is that I hope I can constantly improve and move forward towards excellent programmers! The blog comes from the summary of problems encountered in the project and programming. Occasionally, there will be reading and sharing. I will update the summary of relev ...

Posted by ldd76 on Mon, 07 Feb 2022 23:51:28 +0100

Inter component value transfer proxy server slot vuex route is loaded on demand

1. First, use steps of components: Using nano id s to generate unique IDs is lighter than UUIDs 1. Create components vue file, component name name (initial capital) 2. import Student from "./components/Student.vue" (under the script tab) 3. Register component: the name attribute of the current component is equal to the date attrib ...

Posted by dastaten on Mon, 07 Feb 2022 12:52:12 +0100