Build a scaffold of webpack4+react+typescript+eslint from scratch

This is an extension of the previous article. Beautify web pack output information The output information of webpack during development has a lot of information, which may interfere with our view of information. Here is a suggestion to beautify and streamline the output information. Streamline the following development server output information ...

Added by drawmack on Wed, 02 Oct 2019 14:28:46 +0300

node Notes - Writing of json Files

What we did was a little demo.The general contents are as follows:1. Front End of Vue Framework Writing2.axios call interface3. Write json through interface4. access to all computers in the LAN. First you need to install somethingFront end is npm install axios Back-end installation of express framework npm install express --save npm install bod ...

Added by johne281 on Tue, 01 Oct 2019 23:30:20 +0300

vue-Element-axios architecture calls api for data display

1 Global Installation vue-cli Enter command: NPM install vue-cli-g 2 Create project framework Input command: vue init webpack vueapi Enter the project name, project description, project author and so on according to the prompt in turn. 4. Enter the vueapi directory Enter command: cd vueapi 5. Install element-ui Input comma ...

Added by RickyF on Mon, 30 Sep 2019 17:30:59 +0300

Elastic search 6.8.3 cluster building

1. Download the installation package wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.3.tar.gz After downloading, decompress. The address I decompressed is: / usr / local / elastic search 6.8.3 2. Creating Users es cannot run as root, so you need to create users adduser elastic #Create elastic users Cre ...

Added by Chief on Mon, 30 Sep 2019 15:44:53 +0300

node Initial - - HTTP module and static file server

HTTP module The HTTP module is one of the most important modules in the node, not one.This module provides the ability to execute HTTP services and generate HTTP requests. In fact, we will use the server written by node, mainly the HTTP module. Let's first look at the code needed by a simple HTTP server. const http = require('http') const serve ...

Added by robin on Sat, 28 Sep 2019 19:25:58 +0300

Detailed usage of react-router

I. Relevant dependency packages Router routing is a member of the react family bucket [react+redux + router], which is used to distribute components and organize resources in the project. Let's look at the packages associated with routing. It mainl ...

Added by wpsa on Thu, 12 Sep 2019 12:35:28 +0300

Writing web Applications Using Golang's Gin Framework and vue

Background: The Gin framework of Golang was used to develop API interfaces of internal back-end of operation and maintenance, providing json-type data response to the outside world. However, the data format of this method is not friendly when browse ...

Added by crucialnet on Thu, 12 Sep 2019 05:23:24 +0300

Build a scaffold of webpack4+react+typescript+eslint from scratch

Improving the Packing Configuration of Web Pack With the basic configuration of webpack, it is not enough to support packages that can be used in production environments. We need to add some configuration. First of all, it's better to delete the last generated file before each package. Here you can use it. clean-webpack-plugin Plug-in implement ...

Added by friedemann_bach on Mon, 09 Sep 2019 09:27:57 +0300

Small program exports data to excel table, and realizes Excel data preservation with the help of cloud development background

In the process of developing small programs, we may have the requirement of exporting batch data from our cloud database to excel tables. If writing directly in the applet is not possible, so we need to use the cloud development function of the appl ...

Added by azazelis on Sat, 07 Sep 2019 14:21:27 +0300

Using Gitbook to Build Personal Knowledge Archiving System

I. Prerequisites 1. The Linux Server recommends to choose CentOS 7_64 bit OS, and the unregistered domain name suggests to choose Diitalocean Singapore. Nodes are deployed. 2. Registration Requirements Link: https://m.do.co/c/038647c4bf40 3.Everyone you refer gets $100 in credit over 60 days. 4. Suggestions for choosing models: $5 /month ...

Added by jmicozzi on Wed, 04 Sep 2019 09:36:30 +0300