Start the journey with typescript+ JSX in VUE
More and more companies are embracing typescript because it makes code more readable and maintainable, and many companies now use typescript. Vue, one of the most popular frameworks in the country, has always been unfriendly to typescript extensions. Now, with the help of vue-class-Component and vue-property-decorator...
Smooth upgrade vUE 2 + Webpack project with Vite 2
Vue-cli/Webpack workflows can be almost completely copied by Vite, and most projects can enjoy the benefits of Vite fast packaging
JS plugin, one click copy, clipboard.js use record
The appearance of clipboard.js is a good solution to this problem. It is not only small in size, but also very convenient to use. It can be completed in a few lines of code, and can realize the function of copying browser content to the system clipboard with pure JavaScript (no Flash).
VUE to obtain the SMS verification code, countdown
Nuggets is a community that helps developers grow. It's Hacker News for developers, Designer News for designers, and Medium for product managers. The technical articles of digging gold are edited by the technical masters and geeks gathered on rare earth to select the best dry goods for you, including: Android, iOS, front-end, back-end and other aspects of the content. Users can find the top stories from the tech world here every day. Meanwhile, nuggets also have boiling point, nuggets translation plan, offline activities, column articles and more. Even if you're a GitHub, StackOverflow, open Source China user, we believe you can get something out of it.
What is the LRU (least recently used) algorithm that rain Creek uses?
LRU (least recently used) caching, also used in vue's Keep-alive component, what's so magical about it? This article illustrates + 2 solutions to get it all figured out.
SEO optimization scheme of Vue project
Problem Description: When using VueJs to develop projects, due to the characteristics of single page project (SPA), only an HTML file will be output, which is not conducive to search engine optimization. For some projects that rely on search promotion, there is a big pain point. However, the efficiency of traditional JS+HTML
Background management system can be dragged component design ideas
In the background management system project, because it is data management, most of the pages are CURD. For example: for this kind of page, we can completely design a component, use the way of drag and drop, drag components to the specified area one by one, structural assembly, and then write a data assembly
Reusability component details
5. One-way data flow Is a one-way flow, that is, the parent component passes data to the child component when it changes, but not the other way around. The parent component is decoupled as much as possible to prevent the child component from inadvertently modifying the state of the parent component. Conclusion: Use humps except in HTML. 1. Custom events - Child component passes data to parent component using V-ON except...
Vue-cli3.0 + iView project, solve ie 11 browser open blank
The first method is as follows: a. Install the dependency package regenerator-runtimeb.main.js and import the configuration in c. tabel.config. js and import the configuration in d. vie.config. js and import the configuration in e.p
How to deploy vue CLI3 static pages using Gitee Pages
Without further ado, let's take a look at what Gitee Pages are. Note: During the packaging process, dist files are not ignored by default, so our online code will not be able to get the latest dist folder. All we need to do is comment out the /dist in.gitignore. 1. We selected the code branch and changed the deployment directory to dist so THAT I...