Analysis of new features of Vue 3

It is known that the current stable version of Vue is 2.6.x, and the subsequent version is 2.7.x (part of vue3 content is added). After 18 months of maintenance, except for the security vulnerability update, the rest will not continue to update. Explain that we will embrace the era of vue3.0 in an all-round way Information about the compatibili ...

Posted by white99 on Wed, 24 Jun 2020 05:25:20 +0200

Filter mode and responsibility chain mode

The filter pattern is also called the standard pattern, which mainly uses different standards to filter a group of objects. The process of filtering is a process of layer by layer filtering, so the filter pattern is a kind of structural design pattern. In the actual development, the use of filter patter ...

Posted by artist-ink on Tue, 23 Jun 2020 05:41:30 +0200

Basic use of dayjs time processing library

Day.js Is a lightweight JavaScript time and date processing library, and Moment.js The API design of is consistent. This article only introduces some common operations. For details of internationalization, plug-ins, customization and other advanced contents, please refer to the official documents. Its main characteristics are as follows: A ...

Posted by bond00 on Wed, 03 Jun 2020 18:23:55 +0200

Angular2 configuration Electron project (desktop cross platform)

Electron A desktop cross platform framework. In order to be able to use TypeScript for development, so the integration of configuration Configuration process To create an Angular2 project ng new ang-electron2 *cd enters the project file after creation npm install electron --save-dev --save-exact In the project, we need to Electro ...

Posted by Redlightpacket on Thu, 30 Apr 2020 17:55:55 +0200

Live2D(Cubism3.x) web Kanban settings

Previous tutorial Main contents of this issue 1, Perfect what you didn't notice before. Set the mouse movement event before, and forget to modify the mouse click event Add the code in the original place 2, Understand the configuration file of this model file and configure it according to your own need ...

Posted by dhillarun on Sat, 14 Mar 2020 09:36:38 +0100

TypeScript Array operation

Source: https://blog.csdn.net/honey199396/article/details/80750408 Array is a very simple data structure, but every time you use TypeScript array, you always forget how to use it. Just make it dry and forget to come and have a look. 1, Declaration of array let array1:Array<number>; let array2:number[];   2, Array ini ...

Posted by ramblix on Fri, 24 Jan 2020 16:39:11 +0100

TypeScript Fragrance Series-Interface

Preface The content of TypeScript fragrance series will be referenced Chinese Documents However, the examples in this paper will not duplicate those in the document, and will be studied in some places.In addition, the results of some of the examples in this article are compiled into JavaScript without ...

Posted by severndigital on Fri, 24 Jan 2020 02:55:04 +0100

String literal type of advanced type for TypeScript Foundation

Forward String literal type of advanced type for TypeScript Foundation Advanced type String literal type The string literal type allows you to specify a fixed value that a string must have. In practical application, the literal type of string can be well matched with union type, type protection and type alias. By using these features toget ...

Posted by matchew on Sun, 29 Dec 2019 20:18:00 +0100

The nodejs environment queries Oracle using a Typeorm connection

The first is typeorm's Official Address, Someone in the country has doubled Chinese version , timeliness is not guaranteed / Install the following packages via npm: typeorm //typeorm connection database @types/node//type system typescript //ts base oracledb //oracle base ts-node //nodejs compiles tools that run ts; / Root Path Config ...

Posted by PHPHorizons on Sun, 08 Dec 2019 14:41:31 +0100

[History of TypeScript Evolution--5] Compile async/await to ES3/ES5 (External Help Library)

Author: Marius SchulzTranslator: Front-end witSource: Marius Schulz Ali Yun has been doing activities recently, with a discount of as low as 2 percent. I really think it's a good deal. You can click on this item or link to participate.: https://promotion.aliyun.com/... Tencent Cloud is currently doing activities with 100 cloud products as low ...

Posted by kenslate on Mon, 25 Nov 2019 02:14:54 +0100