Use Tailwind CSS happily in small programs!

Use Tailwind CSS happily in small programs!Bring tailwindcss JIT idea into small program development!Use Tailwind CSS happily in small programs!Usageuni-app (vue2/3)uni-app for vite (vue3)Taro v3 (React/vue2/3)remax (react)rax (react)Native applet (webpack5 mina)Options configuration itemUsing arbitrary valuesQ&A1. I wrote any value of tail ...

Posted by kingman65 on Mon, 16 May 2022 08:36:43 +0300

⚡ Front end multi-threaded large file download practice, speed up 10 times, grasp Baidu cloud disk

background Yes, you're right. It's the front-end multithreading, not the Node. This exploration originated from the recent development. When encountering the development requirements related to video streaming, a special status code was found, his name is 206~ In order to prevent the dryness of this article, first put on the effect drawing. (t ...

Posted by bkanmani on Mon, 16 May 2022 04:30:21 +0300

The holes in layui that you stepped on.

Is Xiaobian a full-time front-end developer? It's just that it's becoming more and more difficult for programmers now. They have to learn more front-end frameworks to arm themselves. This is the first time I use layui. The first company uses only layui in the front end, so I have to learn. layui official document address: https://www.layui.co ...

Posted by luddeb on Mon, 16 May 2022 03:23:53 +0300

Functional programming

Functional programming Why should we learn functional programming and what it is, including the characteristics of functional programming (pure function, coritization, function combination, etc.) Functional programming is to use pure functions to realize some fine-grained functions, and then combine these fine-grained functions into more powerf ...

Posted by disconne on Sun, 15 May 2022 13:58:51 +0300

Try fresh vue3 0 - start after reading

background Continue the previous three articles: Try fresh vue3 0 - start with ToDoList (1) Try fresh vue3 0 - understand changes (2) Try fresh vue3 0-tyepscript development component (3) Before the formal development, you need to introduce the routing changes, which is even for vue3 0 to have a preliminary understanding and complete the infr ...

Posted by mjedman1 on Sun, 15 May 2022 12:54:02 +0300

Object property query, object method, understanding of deep and shallow copy

array definition Constructor var arr = new Array();//Using the constructor definition, when there is only one parameter, it represents the length of the array, and multiple parameters represent the array elements literal var arr1 = [];//literal iterate over the array for for(var i=0;i<arr.length;i++){ arr[i] } forEach, no termin ...

Posted by davissj on Sun, 15 May 2022 12:05:27 +0300

Basic JavaScript 4 -- function events and JSON

The first official account of this article: ELO's cabin, welcome to pay attention and view more content!!! function The code block stores a piece of code for processing a single task, and then calls it with a short command whenever necessary JavaScript has many built-in functions. Browser functions are not part of the core JavaScript l ...

Posted by TutorMe on Sun, 15 May 2022 09:34:48 +0300

Upload files locally in the project (the usage of cropper)

Scenario: The project needs to upload local files (pictures, videos, etc.) html provided input Tags can upload files < input type="file" /> //This will generate a button on the page, click to upload the file //But it is generally not used in this way, because the native button is not beautiful Add hideen attribute to the input tag, th ...

Posted by savedlema on Sun, 15 May 2022 02:03:26 +0300

[react framework] learning record 12 - learning and use record of react router 6

preface The code source is the teaching video of shangsilicon Valley in station B, which can be combined with the previous routing articles [react framework] learning record 9- learning how to use react router DOM The React Router is published to npm in three different packages: React Router: the core library of routing, which ...

Posted by ljschrenk on Sun, 15 May 2022 01:11:44 +0300

Vue.js basic syntax introductory statement Vue learning notes v-model bidirectional data binding

Vue.js basic grammar, introductory statements, Vue learning notes Learning website: https://www.bilibili.com/video/BV15741177Eh vue experience Responsive: once the data changes, the view will respond to the change el: specifies which element this Vue object is attached to Data: this attribute usually stores some data <div id="app"&g ...

Posted by IMP_TWI on Sat, 14 May 2022 13:40:34 +0300