Using vuex in vue3

Vuex is widely used in medium and large-scale projects. Generally, the data used globally is placed in vuex to facilitate the use of other pages. In the project, most of the data stored in vuex is related to user_id, permission and other related information, so how to use vuex in vue3? With this problem, in this article, let's analyze it togeth ...

Posted by marschen on Thu, 09 Dec 2021 17:01:29 +0100

7 pictures, realize a simple version of Vue router from zero, which is too easy to understand!

prefaceHello, I'm Lin Sanxin. I'm talking about the most difficult knowledge points in the most easy to understand words. I believe everyone must have used Vue router, that is, routing, in Vue project. Therefore, in this article, I will not explain the basic explanation of Vue router. I will not explain the source code of Vue router to you. I w ...

Posted by shazam on Thu, 09 Dec 2021 09:58:59 +0100

After vscode is saved, the code is automatically formatted and configured

1. Recently, I took over the second project. The previous project was built based on vue + element + admin, an excellent background management platform. It was directly built by the company leaders. When I took over, I just did some simple business development. Recently, I took over a system written by an outsourcing company, which is based on ...

Posted by Devsense on Thu, 09 Dec 2021 01:38:57 +0100

Modifier for vue

preface This article is dedicated to introduce the modifier of vueIncluding instruction modifier, event modifier, key modifier and other modifiersUnderstand the commonly used modifiers to make the development of some scenes easier Modifier of instruction Introduction: the modifier of the instruction includes the modifier of v-model and the m ...

Posted by magic123 on Wed, 08 Dec 2021 19:16:04 +0100

Customize attributes when inserting img tags with Vue quill rich text editor

Recently, I was tortured by quill.js, a rich text editor, for several days, and finally completed the requirements. Now describe the requirements encountered this time: the product says that it needs to add a graphic mixing function in the rich text editor (the picture needs to support zooming, and the picture and text need to be centered). Bef ...

Posted by djopie on Wed, 08 Dec 2021 10:04:56 +0100

Because Promise.all can't be realized, an interview is cool

preface(ಥ﹏ಥ) the interviewer asked him to write a Promise.all about a real event that really happened to a friend. The friend didn't play well on the spot and didn't write it out. Afterwards, he asked the interviewer for a vague evaluation that the foundation was not solid enough and he didn't master the principle knowledge... Of course, this ...

Posted by wesmont on Wed, 08 Dec 2021 09:26:17 +0100

Vue event binding and event binding modifier

preface Over the past few years, I have been struggling in the it industry. Along the way, many have summarized some high-frequency interviews in the python industry. I see most of the new blood in the industry, and I still have all kinds of difficult questions for the answers to all kinds of interview questions or collection Therefore, I dev ...

Posted by kumarrana on Wed, 08 Dec 2021 05:16:29 +0100

Simple use of wangEditor rich text editor

introduce Wang editor is a lightweight web rich text editor, which is easy to configure and easy to use. Official website: www.wangEditor.com Document: www.wangedit.com/doc Source code: github.com/wangeditor-team/wangEditor For Vue and React Using wangEditor in Vue For vue3, refer to wangEditor-with-vue3 vue2 refer to wangedior with Vue. Usi ...

Posted by Garth Farley on Wed, 08 Dec 2021 04:07:20 +0100

Solve the problem of spanning different sources of requests in many aspects

Solve the problem of spanning different sources of requests in many aspects Homology policy is an agreement. The browser was introduced by Netscape in 1995. It is the most core and basic security function of the browser. Without homology policy, the browser is vulnerable to XSS, CSFR and other attacks. The so-called homology means that &quot ...

Posted by johnsmith153 on Wed, 08 Dec 2021 03:32:29 +0100

Vue project cross domain solution and vue.config.js configuration resolution

Why cross domain? Due to the homology policy restrictions of the browser. The same origin policy is a kind of convention. It is the core and basic security function of the browser. If the same origin policy is missing, the normal functions of the browser may be affected. It can be said that the Web is built on the basis of homologous strategy, ...

Posted by networkthis on Wed, 08 Dec 2021 03:10:48 +0100