This article is original and reproduced with the author’s information: Jrain LauProject address:https://github.com/jrainlau/s … Preface In the actual development process, it is a headache to build the project structure from scratch, so various scaffolding tools have emerged. The author uses moreyoeman,express-generatorAndvue-cliIs one of them. They are rich in functions, but the core function is to ..
Category : frontend
This article is original, welcome to reprint, reprint please indicate the author’s informationProject address:SphinxJSOnline experience address:https://jrainlau.github.io/sp … Speaking of front-end caching, most people think of only a few conventional schemes, such ascookie,localStorage,sessionStorage, or addindexedDBAndwebSQL, andmanifestOffline cache. In addition, is there any other way to cache the front-end data? This article will take you to explore ..
When it comes to hijacking, the first reaction may be something bad. Function hijacking is not evil, but depends on the user. Although this concept is rarely used in front-end areas, it still has certain use value in security areas, custom business and other scenarios. Therefore, this article will go with everyone to understand what ..
With the official launch of Vue2.0, I also took this opportunity to restructure my open source project Markcook. This reconstruction not only killed the boring time when I was stuck in traffic jam on the expressway, but also deepened my understanding of Vue2.0 and Vuex2.0. It can be said that it has done more with ..
I. research objectives The concept of HTTP2 has been put forward for quite a long time, and articles about http2 on the Internet have also been searched. However, judging from the results of the search, most of the existing articles are biased towards the introduction of http2, and few of them are actually specifically analyzed ..
VUWE Online preview Introduction VUWEIt is based on WeChatWeUIDeveloped specifically forVue2The component library of. It is related toWeUIComplete decoupling. Users through customWeUIThe style of the file, you can easily toVUWERealize customization. Chinese document Use Enter aVueProject, then execute the following command: npm install vuwe –save Load WeUI Before you begin, you need toindex.htmlInternal loadingWeUIStyle library: ..
I introduction Nuxt.js – Universal Vue.js Applications along withreactCommunitynext.jsThe release of the framework,vueThe community finally gave birth to its own isomorphic framework of front and rear ends.nuxt.js. In further contact and use, it was found thatnuxt.jsIt is indeed extremely convenientvueThe logic behind the development of the project is also worth pondering. AboutnuxtPlease refer to for ..
Introduction The asynchronous operation of js has become a commonplace topic, and articles on this topic can be found in a large number at google. Then why should I write this article? In recent work, in order to write a set of relatively complex plug-ins, various asynchronous operations need to be handled. However, for the ..
Project address:https://github.com/jrainlau/v …DEMO:https://jrainlau.github.io/vu … Introduction Vue-OccupyVue is a VUE instruction, which can use a configurable color block to occupy the place before the data is loaded, thus effectively improving the user experience. Installation UseyarnOr ..npmThe way to install: # yarn yarn add vue-occupy # npm npm install vue-occupy Use Enter the project entry file and ..
We must be familiar with uploading pictures. Recently, I met with the content about the picture upload in my work. I took this opportunity to study it carefully. I went out of control and finally figured out one thing. I have a lot of experience in the process of development, so I plan to write ..
In the recent project, we encountered a scene of more processing arrays, such as extracting and classifying a field of an element in the array, or judging whether an element in the array meets the judging conditions, etc. There are a lot of articles on the Internet about using ES5 new API to replace for ..
Finally, I completed a big project of the company, and gained a lot during this period. I had a deeper understanding of “component development”. In today’s front-end development, “componentization” has become a popular concept, and the various development frameworks that follow it carry forward this concept. However, the concept belongs to the concept, and there ..