Nodejs file upload based on express+multer

overview Image upload is a function often used in web development, and the node community also has relatively perfect support in this regard. Common open source components include multer and formidable. With the help of these two open source components, you can easily upload pictures. This paper mainly explains the following contents, and th ...

Added by Sir Mildred Pierce on Thu, 20 Jan 2022 06:24:04 +0200

The front-end JavaScript implements a simple calculator

The front-end uses JavaScript to implement a simple calculator, which is not difficult, but there are some small knowledge that should be paid attention to. It can be regarded as a review of basic knowledge. subject To realize a simple calculator, the requirements are as follows: 1. In the division operation, if the divisor is 0, the result i ...

Added by sujithfem on Thu, 20 Jan 2022 03:19:52 +0200

SASS and Compass study notes and using SASS in vue

preface A simple blog about learning SASS 1, Install SASS SASS is developed based on Ruby language, so we need to use SASS first Install RubyAfter installation, we can install SASS. Open the command line window and enter gem install sassThen test whether it is installed. On the command line, enter sass -v to display the version num ...

Added by jalbey on Thu, 20 Jan 2022 00:40:33 +0200

React basic learning notes

React basic learning notes (I) Reference: Teacher Wang Hongyuan's React React features – declarative programming Declarative programming: Declarative programming is the mode of the whole front-end development: Vue, React, fluent and SwiftUI; It allows us to only maintain our own state. When the state changes, React can render our UI ...

Added by headbangerbuggy on Thu, 20 Jan 2022 00:36:04 +0200

[Web] HTML Basics - understand the basic structure of HMTL + the use of common tags

πŸ“’ Blog home page: πŸ€ Bryant typing the codeπŸ€ πŸ“’ Welcome to praise πŸ‘ Collection ⭐ Leaving a message. πŸ“ Welcome to discuss! πŸ‘ πŸ“’ This article was originally written by [Bryant who knocked the code], and was first launched in CSDN πŸ™‰πŸ™‰πŸ™‰ πŸ“’ Since the blogger is learning Xiaobai, there will inevitably be mistakes. If you have any questions, please leave ...

Added by appels on Thu, 20 Jan 2022 00:18:31 +0200

TS snake project details

Project introduction The project is completed by using the object-oriented idea in ts language. preface After learning the TS project, it is a good choice to practice with this project. Here is a process of js - > ts. js is a process oriented language and TS is an object-oriented language. This is the biggest difference between the ...

Added by polywog on Wed, 19 Jan 2022 17:53:41 +0200

React HOC higher order component learning

What is React HOC? React HOC - Higher Order Component, also known as react's high-order Component, is usually implemented by a function that accepts one Component and outputs another, similar to Java's proxy mode. It implements some object decorators or interceptors in combination or other ways.To sum up, React HOC is essentially a function. T ...

Added by shibiny on Wed, 19 Jan 2022 16:50:47 +0200

webpack5 packages a TS library and publishes it to npm one-stop practical tutorial (with template code)

preface Today's front-end wheels are bound to run away from packaging tools such as webpack and rollup. Webpack 5 has been out for a long time. Let's try it. The article will create a TS library from scratch and upload it to npm. The dimensions are in the order of operation steps. Create a new project package jsonInstall webpack a ...

Added by e39m5 on Wed, 19 Jan 2022 16:03:55 +0200

New features of CSS3 (I) new selector

Status of CSS3: 1.CSS3 new selector 1.1 attribute selector 1. The attribute selector can select elements according to the specific attributes of elements without the help of class or id selector 2. Match the above selector: ^Means to select the beginning, $select the end, * select any name <style> /* 1.It must be input, b ...

Added by kittrellbj on Wed, 19 Jan 2022 14:50:16 +0200

Three stages of Java learning - VUE classroom

0 HBuilderX modify comments Path: root directory \ plugins \ theme default \ themes \ default File name: default XML file Modify color: 1. Getting started with Vue 1.1 what is Vue Vue (pronunciation / vju) ː/, Similar to view) is a progressive framework for building user interfaces. Unlike other large frameworks, Vue i ...

Added by zaneosak on Wed, 19 Jan 2022 14:45:48 +0200