Front end Engineering - building enterprise general scaffold
prefaceReprinted from Sohu - front end Engineering - building enterprise general scaffoldWith the concept of front-end engineering getting deeper and deeper into FEer's heart, the standardization and standardization of technology selection, code specification, construction and release processes in the front-end development process need tools to ...
Added by rv20 on Thu, 13 Jan 2022 10:14:43 +0200
Remember the hard journey of introducing TypeScript and composite Api into the old Vue2 project
ReasonAn existing project was created two years ago. With the passage of time, the amount of code has soared to nearly tens of thousands of files, but the engineering has gradually become unmaintainable. I want to give him a big change, but there are too many intrusive code configurations... Finally, TypeScript, combinatorial Api and vueuse are ...
Added by space1 on Thu, 13 Jan 2022 06:10:00 +0200
Array method Encyclopedia
Array method
1.Array.from()
from() is used to convert the class array structure into an array instance and return a new array
// The string is split into a single character array
console.log(Array.from("Matt")); // ["M", "a", "t", "t"]
// Array.from() performs a shallow copy of an existing array
const a1 = [1, 2, 3, 4];
const a2 = Array.fr ...
Added by nykoelle on Thu, 13 Jan 2022 03:56:11 +0200
Greedy snake JS implementation (super detailed, 10000 word parsing version)
preface
Hello, my friends. I've worked hard this time to bring you a project that has been absolutely fruitful. The analysis is in place. It is also the first time to write such a long article. I look forward to your feedback ✨✨
This article is right Stop B Shangsi Valley greedy snake project Complete parsing of. The original video is very ...
Added by ade234uk on Tue, 11 Jan 2022 04:11:56 +0200
Construction and use of question brushing environment based on Typescript and Jest
Write in front
Used in the company a few months ago vue3 And ts write projects, want to consolidate the foundation, so I think of last year Question brushing environment based on JavaScript and Jest , why don't you make an enhanced version of it, combining Typescript and Jest Make one Brush question environment , here are some of my use experie ...
Added by php_user13 on Mon, 10 Jan 2022 11:04:12 +0200
Evolution history of Angular Universal
Imagine a scenario where you have been working on your Web project for several months, which is likely to be a Web application and, more specifically, a "single page application". But now it's time to deliver and publish your application to millions of users and... Search engines. In order for your application to succeed, it must be i ...
Added by seran128 on Sun, 09 Jan 2022 04:09:36 +0200
[Typescript user manual] function
🚀 [TypeScript Introduction Manual] records the concept of Ts with high attendance rate, which is designed to help you understand and be familiar with Ts 🎉 This series will continue to be updated and corrected, focusing on the points of interest to everyone. Welcome to leave messages and exchange, and encourage each other on the way to advanc ...
Added by ramesh_iridium on Fri, 07 Jan 2022 13:20:08 +0200
TypeScript basic usage
TypeScriptWhat is TypeScriptJavaScript supersetSupport ECMAScript6 standard and output ECMAScript 3/5The difference between JavaScript and TypeScriptTypeScript is a superset of JavaScript and extends the syntax of JavaScript. Therefore, existing JavaScript code can work with TypeScript without any modification. TypeScript provides static type c ...
Added by Sako on Thu, 06 Jan 2022 01:57:09 +0200
THREE.js: build Threejs + typescript + webpack project
catalogue
1. Install node js
2. Install vscode and Microsoft front-end development artifact.
3. Create a new project folder, choose a name at will, here we call it, and then open it with vscode
4. vscode opens the project. As shown below, all you need to do is click the terminal to create a new terminal
5. Enter npm init ...
Added by pingu on Wed, 05 Jan 2022 13:35:15 +0200
Summary of micro front end x reconfiguration practice
preface
Hello, I'm a sea monster. Recently, I changed to a new Department to do content related to intelligent platform. The first task I received was to refactor the previous front-end project.
Refactoring is better than rewriting. Because the original project is ant design Vue + Vue family bucket, you need to switch to Ant Design + ant desi ...
Added by chrisprse on Wed, 05 Jan 2022 12:06:27 +0200